Replies: 2 comments
-
Which permissions did you grant to you app in Entra ID? |
Beta Was this translation helpful? Give feedback.
0 replies
-
AllSites.FullControl Delegated Have full control of all site collections Yes
TermStore.ReadWrite.All Delegated Read and write managed metadata Yes
User.ReadWrite.All Delegated Read and write user profiles
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Has anyone seen this error before, I am running a PnP script to collect site inventories within a tenant and export the results to a DB. The following error appeared several times when iterating thru my agencies sites (approx. 500+):
"Get-PnPSubWeb: C:\Scripts\SPO Scripts\All-MIL-DocumentInventory-MySQL.ps1:91:5
Line |
91 | Get-PnPSubWeb -Recurse -IncludeRootWeb | ForEach-Object { Get-Doc …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Attempted to perform an unauthorized operation.
Beta Was this translation helpful? Give feedback.
All reactions