Forum Discussion
duarte_Aguiar
Nov 24, 2022Copper Contributor
Cannot create list or add site column using PNP PowerShell
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 t...
- Nov 24, 2022
Hi 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
duarte_Aguiar
Nov 24, 2022Copper Contributor
I tried on 3 or 4 different sites in this tenant and I couldn't do this action using PowerShell, even on a new site, created from scratch for this test. After that I tried it on 2 different tenants and it worked
duarte_Aguiar
Nov 24, 2022Copper Contributor
Hi 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