Closed PYPsitehelp closed 3 years ago
Hi @PYPsitehelp, Thanks for trying again. Unfortunately, I keep on seeing the same issue in the log "Access denied. You do not have permission to perform this action or access this resource." for the file "Updated Classroom Policies and Procedures.pptx". Could you please try targeting a different site URL? Or deleting and re-creating the target site? Thanks.
Hi @PaoloPia Thank you for your help. I contacted my IT department at my school and they also tried with an Admin account and also failed. We cannot find this document to delete it or change the access settings. I am trying to do this again now and wil see the results. Thank you Victoria
Hello again @PaoloPia It failed again. Here is the link: Your request to provision "Staff home page" template failed! Please report the issue here providing the following provisioning action correlation ID: 0bd9fa46-d25e-4af1-a7eb-b36643408660 !
Also, the IT manager tried with a global administrator account and it also failed. Is there anything we can do to get the site working? Thank you!
Hi, I still see in the log the same exception, with the same file. I'm going to double-check the issue with the team that built the template. Stay tuned. Thanks.
Having a similar problem provisioning M365 Learning Pathways. provisioning action correlation ID: 1ffca0a2-64f7-47fb-a7f7-a923213a2511 !
I'm having a problem with the new employee onboarding (NEO) template, which I think is the same. In the email I get correlation ID: 7568b0b1-24a3-47c8-8848-e14b0524ba4b (using the provisioning website), but via PowerShell I get:
Apply-PnPTenantTemplate : Access denied. You do not have permission to perform this action or access
this resource.
Fyi, this is a brand-new test tenant (m365x.....sharepoint.com)
Hi @phipham95, Based on the event log, we can see - based on the provided Correlation ID - that you targeted an already existing site and the exception was "Forbidden". Could you please try to provision the solution to a different site URL? In case of any issue, please create another item and provide the corresponding Correlation ID for further investigation. Thanks for your cooperation.
Hi @HiltonGiesenow, Yes, based on the event log, it looks like you are experiencing exactly the same issue described here. We're working on it. We'll let you know. Unfortunately, it is a non-deterministic issue and the best thing to do is to retry targeting a different site URL. If it keeps on failing, I'm sorry but you can only wait for a fix to come out. Thanks for your comprehension.
@PaoloPia Thanks I was able to update the existing Learning Pathways and got it to work.
@PaoloPia, I'm trying a few times, mostly in completely new M365 Demo tenants - there's absolutely nothing in there except OOB demo content, and trying to apply these templates.
I'm trying now again, once again with a totally new tenant, and with more verbose logging on:
Set-PnPTraceLog -On -LogFile c:\temp\pnptraceoutput3.txt -WriteToConsole -Level Information
Connect-PnPOnline https://M365x746390.sharepoint.com Apply-PnPTenantTemplate -Path C:\Dev\GitHub\sp-dev-provisioning-templates\tenant\NEO\NEO.pnp -Verbose
I am doing a pre-consent, if that makes any difference? https://login.microsoftonline.com/0afeaadd-2d49-4b97-953e-444ca3194daa/adminconsent?client_id=31359c7f-bd7e-475c-86db-fdb8c937548e
Here is the full, detailed log:
powershell.exe Information: 0 : 2021-01-12 20:24:52.3653 [OfficeDevPnP.Core] [0] [Information] File NEO.pnp retrieved from folder 0ms
powershell.exe Information: 0 : 2021-01-12 20:24:52.5000 [OfficeDevPnP.Core] [0] [Information] File NEO.pnp retrieved from folder 0ms
powershell.exe Information: 0 : 2021-01-12 20:24:54.4733 [OfficeDevPnP.Core] [0] [Information] File NEO.xml retrieved from folder 0ms
powershell.exe Information: 0 : 2021-01-12 20:25:01.8731 [Provisioning] [18] [Information] ProgressDelegate registered 1ms 6b10fb15-7108-4f9b-98cc-296265265541
powershell.exe Information: 0 : 2021-01-12 20:25:01.8740 [Provisioning] [18] [Information] MessagesDelegate registered 2ms 6b10fb15-7108-4f9b-98cc-296265265541
powershell.exe Error: 0 : 2021-01-12 20:25:17.8668 [OfficeDevPnP.Core] [0] [Error] ExecuteQuery threw following exception: Microsoft.SharePoint.Client.ServerException: Cannot get site https://m365x746390.sharepoint.com/sites/NewEmployeePreOnboarding.
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
at Microsoft.SharePoint.Client.ClientRequest.
Here is the full
I think the correlation id you need appears at the end? 78a0a09f-f03f-0000-8a91-c9511411c334
Install also fails for me. Correlation ID: 5d501ec9-0057-410f-8e56-e0e6c1b71333 - I used an admin account to trigger the deployment so that should not be a permission issue, I assume.
Hi @HiltonGiesenow , but you are using PowerShell locally, not the Look Book site. Right? I assumed you were having issues with the Look Book site. If not, I can still help you - indeed - but maybe this is not the right place to be. Moreover, I cannot investigate the SharePoint Online logs, I can only see the Look Book logs. I also see that you get the following error message:
The source site from which the template was generated had a base template ID value of SITEPAGEPUBLISHING#0, while the current target site has a base template ID value of GROUP#0.
So it looks like you are using a wrong template for the target site. Could you please try to fix this error, and in case of any further problem create an issue in the https://github.com/pnp/pnpframework repo or in the https://github.com/pnp/powershell repo? Thanks.
Describe the issue I tried to provision my team site, it failed. This happened to me several times my last site, and so I deleted that team and created a new one based on comments I received. I have not done anything in the new site.
Expected behavior Provision the site.
Screenshots
Details (please complete the following information):
PnP Correlation ID: 54303520-eca5-4347-9b89-cc680744aeba !
Reference Template: Staff home page https://lookbook.microsoft.com/details/eb5d4741-e2f4-44f1-954b-e7d598585c63
Additional context This happened before with the old one I deleted and now it just keeps happening. Is it possible my account restricts me? I am using my work email and wonder if that is an issue? Are the APIs working again? Is there anything else I can do?
Here are the old messages I received from Paolo with my last attempts with the old deleted team site:
_Unfortunately, it can be because of temporary hiccups in the APIs on the server side. Thanks for the update.
Thanks for trying again. In the log, we see the following exception: "Access denied. You do not have permission to perform this action or access this resource" while uploading a sample file (Updated Classroom Policies and Procedures.pptx) into a library. Could it be that you were already using/browsing the site before the end of the provisioning and, as such, the file was accidentally locked? Or could it be that you targeted the same site as before (the first try), and that file is somehow locked/checked-out? Please, let me know. I'll keep this item open in the meantime. Thanks._