Forum Discussion
RichardS
Aug 10, 2021Copper Contributor
Get-PnPSiteTemplate : Attempted to perform an unauthorized operation and ACS token missing
I am trying to export a design template for a site that I am in the Owners group for, and I have Share Point Administrator role activated. I am running the Powershell ISE as ADMIN When I run th...
RichardS
Aug 11, 2021Copper Contributor
Our Admins found that the current PnP Management Shell screen in Portal.Azure.Com appeared to have changed from when they had originally granted permissions to the app. They noted that the list of potential permissions applicable to PnP Management Shell had increased. We can only surmise that this change had left a number of these ‘new’ permissions in an ‘ungranted’ state, and this is what caused the unauthorisation error.
The problem was fixed by regranting the permissions through the new interface.
The problem was fixed by regranting the permissions through the new interface.
27k1isms
Sep 05, 2025Copper Contributor
It's 2025 and this worked for me, thanks