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
Thank you for reporting a bug. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you. Thanks!
Problem Area
Getting access denied when I run the following code:
When running get-pnpexception, I see the following:
Message : Access denied. You do not have permission to perform this action or access this resource.
Stacktrace : at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServerAsync(ChunkStringBuilder sb)
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryAsync()
at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQueryAsync()
at Microsoft.SharePoint.Client.ClientContext.ExecuteQueryAsync()
at
Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryImplementation(ClientRuntimeContext
clientContext, Int32 retryCount, String userAgent)
at Microsoft.SharePoint.Client.ClientObjectExtensions.EnsurePropertyImplementation[T,TResult](T
clientObject, Expression1 propertySelector) at Microsoft.SharePoint.Client.ClientObjectExtensions.EnsureProperty[T,TResult](T clientObject, Expression1 propertySelector)
at PnP.Framework.Modernization.Cache.CacheManager.GetPublishingPagesLibraryName(ClientContext
context)
at PnP.PowerShell.Commands.Pages.ConvertToClientSidePage.ExecuteCmdlet() in
D:\a\powershell\powershell\src\Commands\Pages\ConvertToPage.cs:line 176
at PnP.PowerShell.Commands.PnPSharePointCmdlet.ProcessRecord() in
D:\a\powershell\powershell\src\Commands\Base\PnPSharePointCmdlet.cs:line 65
ScriptLineNumber : 1
[X ] Page Transformation: Error during the use of page transformation from PnP PowerShell
[ ] Page Transformation: Error during the use of page transformation from .Net
[ ] Page Transformation: Page is not looking correct after transformation
[ ] Modernization Scanner: something went wrong...
Expected or Desired Behavior
I would expect the page transformation to run without the access denied error.
If you are reporting a bug, please describe the expected behavior. If you are suggesting an enhancement please
describe thoroughly the enhancement, how it can be achieved, and expected benefit.
Observed Behavior
Getting an access denied error
If you are reporting a bug, please describe the behavior you expected to occur when performing the action. If you are making a suggestion, you can delete this section.
Steps to Reproduce
I have uninstalled and reinstalled the PnP Powershell module (allowing nightly releases) to the latest version, upgraded to Powershell 7, tested all connections. I was able to run the add-pnppage command successfully which validated connectivity to the destination.
If you are reporting a bug please describe the steps to reproduce the bug in sufficient detail to allow testing. Only way to fix things properly, is to have sufficient details to reproduce it. If you are making a suggestion, you can delete this section.
The text was updated successfully, but these errors were encountered:
Thank you for reporting a bug. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you. Thanks!
Problem Area
Getting access denied when I run the following code:
ConvertTo-PnPPage -Identity "ExpenseFAQ1.aspx"
-PublishingPage
-TargetWebUrl "https://portal.sharepoint.com/sites/somesite"
-PublishingTargetPageName "NewHome.aspx"
-WebPartMappingFile "C:\Solutions\Mappings\webpartmapping.xml"
-PageLayoutMapping "C:\Solutions\Mappings\pagelayoutmapping.xml"
-Connection $sp13Conn
-DontPublish
-Overwrite
-SkipItemLevelPermissionCopyToClientSidePage
-LogSkipFlush
-LogType File
-LogFolder "C:\Solutions\Logs"
When running get-pnpexception, I see the following:
Message : Access denied. You do not have permission to perform this action or access this resource.
Stacktrace : at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServerAsync(ChunkStringBuilder sb)
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryAsync()
at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQueryAsync()
at Microsoft.SharePoint.Client.ClientContext.ExecuteQueryAsync()
at
Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryImplementation(ClientRuntimeContext
clientContext, Int32 retryCount, String userAgent)
at Microsoft.SharePoint.Client.ClientObjectExtensions.EnsurePropertyImplementation[T,TResult](T
clientObject, Expression
1 propertySelector) at Microsoft.SharePoint.Client.ClientObjectExtensions.EnsureProperty[T,TResult](T clientObject, Expression
1 propertySelector)at PnP.Framework.Modernization.Cache.CacheManager.GetPublishingPagesLibraryName(ClientContext
context)
at PnP.PowerShell.Commands.Pages.ConvertToClientSidePage.ExecuteCmdlet() in
D:\a\powershell\powershell\src\Commands\Pages\ConvertToPage.cs:line 176
at PnP.PowerShell.Commands.PnPSharePointCmdlet.ProcessRecord() in
D:\a\powershell\powershell\src\Commands\Base\PnPSharePointCmdlet.cs:line 65
ScriptLineNumber : 1
[X ] Page Transformation: Error during the use of page transformation from PnP PowerShell
[ ] Page Transformation: Error during the use of page transformation from .Net
[ ] Page Transformation: Page is not looking correct after transformation
[ ] Modernization Scanner: something went wrong...
Expected or Desired Behavior
I would expect the page transformation to run without the access denied error.
If you are reporting a bug, please describe the expected behavior. If you are suggesting an enhancement please
describe thoroughly the enhancement, how it can be achieved, and expected benefit.
Observed Behavior
Getting an access denied error
If you are reporting a bug, please describe the behavior you expected to occur when performing the action. If you are making a suggestion, you can delete this section.
Steps to Reproduce
I have uninstalled and reinstalled the PnP Powershell module (allowing nightly releases) to the latest version, upgraded to Powershell 7, tested all connections. I was able to run the add-pnppage command successfully which validated connectivity to the destination.
If you are reporting a bug please describe the steps to reproduce the bug in sufficient detail to allow testing. Only way to fix things properly, is to have sufficient details to reproduce it. If you are making a suggestion, you can delete this section.
The text was updated successfully, but these errors were encountered: