You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing an issue when uploading files to the Shared Document library in a Communication Site template running the Add-PnPFile cmdlet.
My issue comes from how I connecto SharePoint Online. I use the Connect-PnPOnline cmdlet to connect to my SharePoint site collection. When I use an account (username and password) everything works fine, but when I use a Registered App and provide the certification information I always get a 401 error. I think I've granted all permissions in a proper way, I granted all that I think is enough (all from Sites and Files groups).
Does anybody know if I'm missing something or using a certificate when connecting makes not possible to use the Add-PnPFile?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everybody,
I'm facing an issue when uploading files to the Shared Document library in a Communication Site template running the
Add-PnPFile
cmdlet.My issue comes from how I connecto SharePoint Online. I use the
Connect-PnPOnline
cmdlet to connect to my SharePoint site collection. When I use an account (username and password) everything works fine, but when I use a Registered App and provide the certification information I always get a 401 error. I think I've granted all permissions in a proper way, I granted all that I think is enough (all from Sites and Files groups).Does anybody know if I'm missing something or using a certificate when connecting makes not possible to use the
Add-PnPFile
?Beta Was this translation helpful? Give feedback.
All reactions