Register-PnPManagementShellAccess failure #1213
-
i read the documentation but i am lost here... "You need to run this cmdlet with an identity that has write access to the Azure AD." https://pnp.github.io/powershell/articles/authentication.html i am trying to setup an app that we need to have upload files to our sharepoint site. i need to setup the app so that it can run automatically. but just getting the right access to create the app security seems to need me to be an ad admin .... |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
It's a complicated bit, but fortunately you only have to do it once. You have to run |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
thanks, so far this has been a list of roles needed to just get to running the commands to make the setting for my app.... |
Beta Was this translation helpful? Give feedback.
The official role name is "Global Administrator." Your tenant has one of those. You only need to log in as that user and run that command once, then the PnP.PowerShell module will work for anyone in that tenant.