This repository has been archived by the owner on Jan 19, 2021. It is now read-only.
Connect-PnpOnline using SharePoint app credentials showing obsolete #2810
Unanswered
praveenbattula
asked this question in
Q&A
Replies: 1 comment
-
The parameters are obsolete, but the functionality not. As the message states, you can now use ClientId and ClientSecret instead, with the same values as you used with AppId and AppSecret. |
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
-
Since couple of days started seeing the command "Connect-PnPOnline" started showing the warning "AppId, AppSecret parameters are obsolete". Which means the SharePoint app authentication is going away? Looks like these has to be replaced with Azure AD app permissions using ClientId and ClientSecret?
When I look into source control, I confirmed that the code shows obsolete warning everywhere AppId and AppSecret is referenced.
Github Source
But, when I go to MSDN Docs I don't find anything there... https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs
Please help if this is something to be rewritten to use Azure AD App registration process. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions