-
Notifications
You must be signed in to change notification settings - Fork 197
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
Feature request : Add the capability to approve permission requests like m365 cli m365 spo serviceprincipal permissionrequest approve
#1096
Comments
@jansenbe I had a quick look at it.
|
@mloitzl : yes, this would require a new model in |
@mloitzl : awesome! Thanks for helping out 💪🚀Will review the PR early next week. |
@mloitzl : just reviewed and merged your PR, great job! Thanks a lot for your contribution to PnP Core SDK!!! @larry-lau: please try this feature with the next nightly release (version 1.8.107 or higher). See https://pnp.github.io/pnpcore/using-the-sdk/admin-sharepoint-apps.html#list-approve-or-reject-the-permissions-requests-for-an-app for the docs. Will close this issue now, please create new issue if things are not working @larry-lau, thank you @mloitzl for building the feature. |
Thank you for implementing the feature so quickly. However, the ServicePrincipal class is internal so I am not able to instantiate. |
Oops... that's a very obvious one 😆 |
@larry-lau : thanks for spotting that one @larry-lau and thanks for the fix @mloitzl . Our test project can see the internals of PNP Core SDK, hence this passed our checks. |
Thanks! Which nightly build would have the new getter on IAppManager so I can test this out? |
The one out now |
I have tested the API. Looking good. I would suggest renaming IPermissionRequest.PackageApproverName to RequesterName |
Add the capability to approve permission requests like m365 cli
m365 spo serviceprincipal permissionrequest approve
We are able to use pnpcore to deploy SPFx app to app catalog. However, the app request permission to call Graph API.
The only step we couldn't automate is the permission requests approval step.
Originally posted by @larry-lau in #897 (comment)
The text was updated successfully, but these errors were encountered: