Connect-PNPOnline not working on azure web jobs with client id and client secret #1738
Unanswered
kaushalbcactus
asked this question in
General
Replies: 2 comments
-
Hi am converting this to a discussion , not exactly an issue with PnP PowerShell but most likely some configuration issue :( |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm having a similar issue. Though for me, when using ClientID and ClientSecret, I can connect. Subsequent PnP commands however throw the following: |
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.
-
Hi Connect-PNPOnline displays the below error on azure webjobs with clientid clientsecret command.
below is code
$path = "C:\home\site\wwwroot" $env:PSModulePath += ";$path\Modules\PnP.PowerShell" Connect-PnPOnline -Url $SiteURL -ClientId "xxx" -ClientSecret "xxx" Get-PnPContext
Also same issue with
New-AzStorageContext
Requesting your suggestion to resolve the issue.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions