-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add --allowPublicClientFlow option to entra app add/set commands #5870
Comments
martinlingstuyl
added
enhancement
needs peer review
Needs second pair of eyes to review the spec or PR
labels
Feb 25, 2024
Looks like a great suggestion to me 👍 |
milanholemans
added
help wanted
and removed
needs peer review
Needs second pair of eyes to review the spec or PR
labels
Feb 25, 2024
Additionally, we could add a working example to this docs page: https://pnp.github.io/cli-microsoft365/user-guide/using-own-identity |
Awesome suggestion and I had the same idea when reading your latest blog about sites.selected permissions 😉. |
@Adam-it @martinlingstuyl ok as we discussed in #1963, you can assign me to this one as well |
mkm17
added a commit
to mkm17/cli-microsoft365
that referenced
this issue
Mar 12, 2024
mkm17
added a commit
to mkm17/cli-microsoft365
that referenced
this issue
Mar 13, 2024
mkm17
added a commit
to mkm17/cli-microsoft365
that referenced
this issue
Apr 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When creating a custom identity for the CLI, one of the steps is to flip a switch in the azure portal:
Allow Public Clients Flow
After which the device code flow can be used.
It would be nice to have a oneliner that can create a CLI identity app registration.
However, within the CLI we don't have an option for enabling the above mentioned toggle. We can create the app using a manifest, but that's quite complicated. We should add a flag option to do just that:
Options
For entra app add:
--allowPublicClientFlows
For entra app set:
--allowPublicClientFlows [allowPublicClientFlows]
Implementation
The Microsoft Graph does not have a property to do this. So in the CLI we should update the app using the manifest.
We're talking about the following manifest property:
https://learn.microsoft.com/en-us/entra/identity-platform/reference-app-manifest#allowpublicclient-attribute
The text was updated successfully, but these errors were encountered: