Nov 24 2022 09:15 AM
Hi,
I have a development tenant where I am SharePoint Administrator.
I want to create some site columns, content types and lists, on a specific site, so I am using PnP PowerShell.
When I run the command
I get the following error
I'm a site collection administrator, but SharePoint won't assume my permissions.
I have tried the same actions on 2 other development tenants and a production tenant and I can perform the actions I want, this issue only occurs on this particular office 365 developer tenant.
PowerShell Code:
output:
Bellow I show some images confirming my statements.
Nov 24 2022 10:58 AM
Nov 24 2022 11:03 AM
@NicolasKheirallahI had already tried your solution and even so I can't carry out the creation, on this site, from this specific development tenant. In others I can
Nov 24 2022 11:09 AM
Nov 24 2022 11:12 AM
Nov 24 2022 12:23 PM
SolutionHi everyone, I asked this question on another forum and using Connect-PnPOnline -Url{site url} -UseWebLogin I was able to do the creations.
Thank you very much