sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

SPFx Application Customizer issue

Open srisspfx opened this issue 5 years ago • 6 comments

SPFx Application Customizer issue at Tenant level

  • [x] Bug

Describe the bug

Hi Team,

We have deployed an SPFx application customizer to apply custom headers and footers to Modern pages in O365 sites. This has been deployed across tenant level and it was working till last week.

We have redeployed the solution without any change last week due to a small confusion, and suddenly it stopped working for all users. The issue here is, deployed Application customizer is loading across sites only for the user who deployed the solution(me), and not for others. This is really confusing. Can someone help us on this Please. When it is not deployed at tenant level and added as an app under each sites, it works.

Expected behavior

SPFx Application Customizer deployed at tenant level should apply custom header across modern pages.

srisspfx avatar Mar 20 '21 13:03 srisspfx

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Mar 20 '21 13:03 ghost

The only thing we can suspect is related to permission issue. Is there an compulsion like only tenant admin can push the .spkg package at App Catalog and the bundled files at CDN Path?

srisspfx avatar Mar 20 '21 13:03 srisspfx

Hi @srisspfx - can you double check the deployment status from the app catalog and ensure that the solution is not in checkedout status... This is just a hunch as never heard about your specific scenario before, but this might explain what happened... so in certain cases sppkg file is left in checked out status which could potentially cause this.

You can see that from the green marker in the app catalog.

image

Thanks for confirming this status advance. Looking forward on hearing from you.

VesaJuvonen avatar Mar 22 '21 11:03 VesaJuvonen

Hi @srisspfx - can you double check the deployment status from the app catalog and ensure that the solution is not in checkedout status... This is just a hunch as never heard about your specific scenario before, but this might explain what happened... so in certain cases sppkg file is left in checked out status which could potentially cause this.

You can see that from the green marker in the app catalog.

image

Thanks for confirming this status advance. Looking forward on hearing from you.

srisspfx avatar Mar 25 '21 05:03 srisspfx

Hi Vesa Juvonen, Thanks for your time to look into this. I'm able to fix this issue. I did 2 things but not sure which one fixed the issue :) First, I upgraded the SPFx Framework to latest version. Second, After uploading the .sppkg file, there was a list in App Catalog named "Tenant Wide Extensions" where the Approval status was showing as pending. I approved and it started working again.

srisspfx avatar Mar 25 '21 05:03 srisspfx

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

ghost avatar Apr 01 '21 06:04 ghost