Skip to content

Connect-PnPOnline -ClientID -ClientSecret -AADDomain gone ? #136

Discussion options

You must be logged in to vote

That is correct. It's a bit of a longer story.

  1. Client ID / Client Secret is available, but you will get a 'legacy' token, using SharePoint ACS. E.g. you're only able to connect to SharePoint and the registration of that id and secret has to be done using appregnew.aspx and appinv.aspx
  2. -UseWebLogin is available but users the very limited in functionality based upon cookie auth.
  3. All other auth uses MSAL to authenticate, either using clientid/certificate/thumbprint/base64encoding, clientid/usercredentials, or by using the recently introduce '-Interactive' flag on connect-pnponline (the latter is alike useweblogin but uses OAuth2 for authentication).

While technically you can acquire an acc…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@kasperbolarsen
Comment options

Answer selected by kasperbolarsen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants