Sep 05 2017 11:58 AM
So I'm playing with SPFX extensions, and have deployed one with "tenant-wide" activated, but all the instructions I find say you still have to "register" the extension with each site using REST or CSOM before it can take effect.
Are there any examples of what this actually looks like?
Sep 06 2017 11:16 AM
@Brent Ellis I'm trying to track down an answer on this as well. I've publishing a tenant-scoped Application Customizer to my app catalog, but am not sure what else is required here.
Here's what I see in the latest documentation:
"SharePoint Framework extensions will be immediately available to be used in the SharePoint sites. This means that they can be associated to be used with ClientSideComponentId properties in the specific SharePoint elements, like fields and user custom actions."
https://dev.office.com/sharepoint/docs/spfx/tenant-scoped-deployment
Sep 07 2017 08:08 AM
@Chris O'Brien to the rescue:
https://gist.github.com/chrisobriensp/5088ebd5840fdcefc475ad066df2363d
Got this working, and it works like a charm
http://www.sharepointnutsandbolts.com/2017/06/SPFx-Application-Customizer-Global-JS-Page-Header.html
Sep 07 2017 08:41 AM
@Brent Ellis @Chris O'Brien very nice – thanks for tracking this down! I'd still like to see MS' documentation and guidance for tenant-wide extensions moving forward. In my mind, extensions are not truly "tenant-wide" if they require a script of this nature.
For instance, how would I accomidate extensions for self-service O365 group creation? Right now it sounds like the answer is a PowerShell script that's running nightly (not ideal).
Oct 21 2017 04:56 AM
Sep 20 2019 08:20 AM
Do we still need to do this via @COB's script?
I simple changed the web entry to 1 but I suspect this is done when we register each site.