How to connect to sharepoint site using app registered in sharepoint usingPnP core #1148
Unanswered
manjunathreddy1
asked this question in
General
Replies: 1 comment 1 reply
-
@manjunathreddy1 : we don't have native support Azure ACS in PNP Core SDK, but we support you bringing your own auth provider by implementing the Furthermore you can copy code from PnP Framework for the ACS bits. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
Can anyone help me to create the code equivalent to the below code in PnP code for connecting to SharePoint using app registered in sharepoint and not in Azure AD. In the samples folder there is only code to connect to SharePoint using app registered in Azure AD.
PnP.Framework.AuthenticationManager authManager = new PnP.Framework.AuthenticationManager();
var sharePointAccessToken = authManager.GetACSAppOnlyContext(siteUrl, clientId, clientSecret).GetAccessToken();
Beta Was this translation helpful? Give feedback.
All reactions