Replies: 1 comment
-
Must be some missing configuration or something else ? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Reporting an Issue or Missing Feature
When trying to upload files using add-PnPfile with a service principal made using the azure portal, it fails and returns an error of unauthorized or access denied, if the service principal is created using register-PnPAzureADApp it works fine, NOTE: both service principal were given the same permissions.
Expected behavior
I expect it to upload files irregardless how the service principal is created.
Actual behavior
returns an unathorized or access denied when using service principal made in azure portal.
Steps to reproduce behavior
create a service principal using azure active directory > app registration, and give it the necessary permissions
connect to sharepoint online using created service principal.
upload files using add-pnpfile
What is the version of the Cmdlet module you are running?
ModuleType Version Name ExportedCommands
Manifest 1.12.0 PnP.PowerShell {Add-PnPAdaptiveScopeProperty, Add-PnPPropertyBagValue...
Which operating system/environment are you running PnP PowerShell on?
Beta Was this translation helpful? Give feedback.
All reactions