This repository has been archived by the owner on Jan 19, 2021. It is now read-only.
Using Connect-PnPOnline in Azure functions #2790
Unanswered
Jenny-Neal
asked this question in
Q&A
Replies: 2 comments
-
Hi @Jenny-Neal The mostly likely scenario is you haven't correctly imported the cert into the cert store for your Azure function. Did you try that? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Alternatively from what @fastlaneb wrote, you can try to upload the actual certificate to your azure function (through kudu). You can then refer to it from there: Connect-PnPOnline -ClientId [ClientID] `
-Url [Url]
-Tenant [Tenant]
-CertificatePath "d:\wwwroot\path\to\your\certificate.pfx"
[-CertificatePassword [IfNeeded]] |
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
-
Hello, I'm trying to use the following in an Azure function and getting an error as below, works perfectly on my local machine but not in Azure, does anyone have any suggestions please?
Connect-PnPOnline -ClientId [ClientID] -Url $siteurl -Tenant $tenantUrl -Thumbprint [Thumbprint]
Beta Was this translation helpful? Give feedback.
All reactions