4

Is there an equivalent of the server cmdlet Set-SPAppPrincipalPermission in SharePoint Online?

I could do it with SharePoint Online Management Shell, PnP, CSOM, or honestly anything else (apart from manual UI).

I could not find anything in the Powershell modules, and .LoadAndInstallApp($appIoStream) does not seem to include that.

5

No, there is not an equivalent of the server cmdlet Set-SPAppPrincipalPermission in SharePoint Online.

We can only set the permission of the app by SharePoint UI in SharePoint online. There is not csom / powershell code for doing such thing on sharepoint online

As a workaround, you can try to build some scrapper as the shown on this post, which explains a script that simulates clickc on a browser

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.