You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using SharepointPnpCoreOnline library (2.11.1701.1) to provision a new site collection, which was working fine for the past 6+ years and started giving the error
Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
recently.
Steps to reproduce
using (var repositoryContext = new AuthenticationManager().GetAppOnlyAuthenticatedContext(
templatesSiteUrl,
clientId,
clientSecret)) {
var mpgallery = web.GetListByTitle("Master Page Gallery"); mpgallery.ForceCheckout = true; mpgallery.Update(); web.Context.ExecuteQueryRetry();
Expected behavior
Supposed to checkout the master page gallery and upload the js/css files
@vvenkataratnam : SharePointPnPCoreOnline library is something we retired a long time ago. PnP Framework is the latest version of this. I'll move your issue over to that repo, but best is to upgrade your app to the latest and verify things still work. Also, looking at your code snippet you're using Azure ACS, something Microsoft is retiring as well, best setup an Azure AD app and use that going forward.
Category
Describe the error
I am using SharepointPnpCoreOnline library (2.11.1701.1) to provision a new site collection, which was working fine for the past 6+ years and started giving the error
Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
recently.
Steps to reproduce
Expected behavior
Thanks for your contribution! Sharing is caring.
The text was updated successfully, but these errors were encountered: