-
Notifications
You must be signed in to change notification settings - Fork 991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPFx: Can't view Install Errors #872
Comments
@AJIXuMuK - Does this still repro? It looks like chrome, can you confirm what browser you are using? Could you please send a fiddler trace of your request clicking on the "1" to grahamc at Microsoft.com? |
@mcmynn83 all is good now. and yup - it was Chrome. |
I'm experiencing the same issue. I tried this in FireFox and Edge, but I get an empty page. Could we reopen this issue? |
@samir-farid - could you send a fiddler trace of your call when you click on the 1? That will help us determine why the page isn't loading, we have not been able to investigate it because we haven't been able to repro it. |
I'm hitting this same issue... would be great to know what solved it for @AJIXuMuK . @mcmynn83 - I traced the request in Chrome developer tools and what's happening is it's throwing an Access Denied error behind the scenes - the error comes from 'https://tnubel.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https://tnubel.sharepoint.com/_layouts/15/appmonitoringerrordetails.ashx?appInstanceId=d236417e-87cd-4a73-923e-9ac12fb20d2e&entryCode=3&lcid=1033&correlation=61b27b9e-00f6-6000-edc2-51d2602b2f52' Not sure why I'm getting access denied as I'm the site collection administrator and an admin user. |
@tnubel I believe it was some portion of luck for me :) |
@tnubel - Thanks for the access denied URL. I can actually investigate that!!! The reason why you are receiving this error message is that we do a permissions check for the following permissions: The reason you don't have all of those permissions is that AddAndCustomizePages is removed due to noscript being enabled on that site collection. Internally we will discuss if that permission check is really necessary or not. Thanks, |
I am having this same problem. Is there a workaround here? I am trying to develop an SPFX webpart that provisions and it is erroring out on the install. I can't see what the errors are because of this bug. Is there a log file somewhere else I can look at? I have an app catalog on my test site collection so I can't seem to monitor the app either. |
Same issue again, but this time for Add in, not SPFx solution. |
Same problem here. There is one install error but no way to see it. When I click on link after install error I see popup for a moment and then page goes blank. |
There is request made to somewhere and it gets redirected to AccessDenied.aspx. |
You can avoid the error if you enable custom site scripts. Using the powershell script below you can toggle the setting on/off. To avoid the error: Connect-SPOService -Url $tenantUrl
Set-SPOSite -Identity $siteUrl -DenyAddAndCustomizePages $false
Disconnect-SPOService To return to default setting: Connect-SPOService -Url $tenantUrl
Set-SPOSite -Identity $siteUrl -DenyAddAndCustomizePages $true
Disconnect-SPOService |
This still an issue? I'm going back through old issues and making sure they are appropriately closed/labeled/visibility raised if necessary |
It is still issue. It seems to come down to users who can add apps but who are not tenants admins. |
Alternately, can you go to the app / solution list, customize the view, and add the error column? |
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within next 7 days of this comment. Thank you for your contributions to SharePoint Developer activities. |
Why do you need author feedback if there is an ongoing conversation happening? |
@AJIXuMuK it's just an automated bot doing that... Needs:AuthorFeedback is waiting for the OP to comment since they are the one who opened the issue. If they don't chime in, the automated closing process kicks in after 7d marking it stale, then closing if no more action happens in 14d... but if the OP does chime in (as you did here), you can see the bot jumped back in and removed that label. Looking back, it seems I might have labeled it incorrectly/prematurely... my bad... |
Yup, I saw that it is done by bot. I just think that automation flow might be changed a bit to take into consideration ongoing conversation. But it's off-topic ) |
Any idea @VesaJuvonen @patmill ? Seems to be incorrect behavior... |
If you inspect the DOM, you can see that the opacity of the body element has been set to 0. Set that to 1 and you should hopefully see the error window. Don't ask me why it sets the body tag to 0 opacity haha. Hope this helps someone. |
Hi All, Is there any update on this issue. Facing exactly the same when trying to add an app that uses 'ContentType' as RegistrationType and RegistrationId as CT id. |
Hi All, |
I am also facing the same issue with one the messages |
This issue still persist. Following pnp ps can be used as workaround -
Go back to App Details -> click on link next to "Install Errors" -> errors appear in a popup |
Can confirm I experience this on 2020-01-26 on a Modern site collection when trying to install an app that is failing. Can also confirm that the DenyAddAndCustomizePages fix mentioned in the thread here does resolve this issue for me (I happen to also be Site Collection Admin in this particular site collection if that matters). I believe you should be able to view app installation errors in Modern site collections, without the need for this "workaround". I suspect much of the behavior is a related to the fact that many of the APP system pages still using the legacy UIs (classic UIs). |
The issue on the view errors link is still happening. I have a sharepoint dev environment to work and do the permission work around, but i can't do tha same in the client's production tenant. This need to be fixed. |
This is surreal. Four years later this is still happening... @good-gravy suggestion solved the problem. |
I am experiencing this issue only on cdn-tenants, but then the issue with blank page instead of showing error is guaranteed to happen. |
Issue still happening today. I am using PowerShell and PnP Core, so here is the proper command for folks who cannot get access to the Install Error
|
Fixing this. |
This should be rolled out WW by now, closing. |
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues |
Category
Expected or Desired Behavior
If there are any Install errors for SPFx App package they should be visible after clicking on errors count on App Details page:
Observed Behavior
After clicking the link the whole content of the page disappears:
Steps to Reproduce
Create some .sppkg that will throw error while installing.
I got that situation trying to deploy Command Set Extension using Feature Framework with RegistrationId="0x01" and RegistrationType="ContentType" (#871)
The text was updated successfully, but these errors were encountered: