How to "Register" Tenant-Wide Extensions on a Site?

%3CLINGO-SUB%20id%3D%22lingo-sub-103517%22%20slang%3D%22en-US%22%3EHow%20to%20%22Register%22%20Tenant-Wide%20Extensions%20on%20a%20Site%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-103517%22%20slang%3D%22en-US%22%3E%3CP%3ESo%20I'm%20playing%20with%20SPFX%20extensions%2C%20and%20have%20deployed%20one%20with%20%22tenant-wide%22%20activated%2C%20but%20all%20the%20instructions%20I%20find%20say%20you%20still%20have%20to%20%22register%22%20the%20extension%20with%20each%20site%20using%20REST%20or%20CSOM%20before%20it%20can%20take%20effect.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAre%20there%20any%20examples%20of%20what%20this%20actually%20looks%20like%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-103517%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExtensibility%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-118842%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20%22Register%22%20Tenant-Wide%20Extensions%20on%20a%20Site%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-118842%22%20slang%3D%22en-US%22%3EAnyone%20know%20if%20activating%20via%20a%20site%20script%20is%20going%20to%20be%20the%20way%20to%20do%20this%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-104270%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20%22Register%22%20Tenant-Wide%20Extensions%20on%20a%20Site%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-104270%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F637%22%20target%3D%22_blank%22%3E%40Brent%20Ellis%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F5996%22%20target%3D%22_blank%22%3E%40Chris%20O'Brien%3C%2FA%3E%20very%20nice%20%E2%80%93%20thanks%20for%20tracking%20this%20down!%20I'd%20still%20like%20to%20see%20MS'%20documentation%20and%20guidance%20for%20tenant-wide%20extensions%20moving%20forward.%20In%20my%20mind%2C%20extensions%20are%20not%20truly%20%22tenant-wide%22%20if%20they%20require%20a%20script%20of%20this%20nature.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20instance%2C%20how%20would%20I%20accomidate%20extensions%20for%20self-service%20O365%20group%20creation%3F%20Right%20now%20it%20sounds%20like%20the%20answer%20is%20a%20PowerShell%20script%20that's%20running%20nightly%20(not%20ideal).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-104257%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20%22Register%22%20Tenant-Wide%20Extensions%20on%20a%20Site%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-104257%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F5996%22%20target%3D%22_blank%22%3E%40Chris%20O'Brien%3C%2FA%3E%26nbsp%3Bto%20the%20rescue%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgist.github.com%2Fchrisobriensp%2F5088ebd5840fdcefc475ad066df2363d%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgist.github.com%2Fchrisobriensp%2F5088ebd5840fdcefc475ad066df2363d%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGot%20this%20working%2C%20and%20it%20works%20like%20a%20charm%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fwww.sharepointnutsandbolts.com%2F2017%2F06%2FSPFx-Application-Customizer-Global-JS-Page-Header.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.sharepointnutsandbolts.com%2F2017%2F06%2FSPFx-Application-Customizer-Global-JS-Page-Header.html%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-103921%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20%22Register%22%20Tenant-Wide%20Extensions%20on%20a%20Site%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-103921%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F637%22%20target%3D%22_blank%22%3E%40Brent%20Ellis%3C%2FA%3E%26nbsp%3BI'm%20trying%20to%20track%20down%26nbsp%3Ban%20answer%20on%20this%20as%20well.%20I've%26nbsp%3Bpublishing%20a%20tenant-scoped%20Application%20Customizer%20to%20my%20app%20catalog%2C%26nbsp%3Bbut%20am%20not%20sure%20what%20else%20is%20required%20here.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere's%20what%20I%20see%20in%20the%20latest%20documentation%3A%3C%2FP%3E%3CP%3E%22%3CSPAN%3ESharePoint%20Framework%20extensions%20will%20be%20immediately%20available%20to%20be%20used%20in%20the%20SharePoint%20sites.%20This%20means%20that%20they%20can%20be%20associated%20to%20be%20used%20with%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EClientSideComponentId%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3Bproperties%20in%20the%20specific%20SharePoint%20elements%2C%20like%26nbsp%3B%3C%2FSPAN%3E%3CEM%3Efields%3C%2FEM%3E%3CSPAN%3E%26nbsp%3Band%26nbsp%3B%3C%2FSPAN%3E%3CEM%3Euser%20custom%20actions%3C%2FEM%3E%3CSPAN%3E.%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdev.office.com%2Fsharepoint%2Fdocs%2Fspfx%2Ftenant-scoped-deployment%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdev.office.com%2Fsharepoint%2Fdocs%2Fspfx%2Ftenant-scoped-deployment%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-867418%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20%22Register%22%20Tenant-Wide%20Extensions%20on%20a%20Site%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-867418%22%20slang%3D%22en-US%22%3E%3CP%3EDo%20we%20still%20need%20to%20do%20this%26nbsp%3B%20via%26nbsp%3B%40COB's%20script%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20simple%20changed%20the%20web%20entry%20to%201%20but%20I%20suspect%20this%20is%20done%20when%20we%20register%20each%20site.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F132782iC58B8EA283A8641C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Tenant%20wide%20deployment%202.png%22%20title%3D%22Tenant%20wide%20deployment%202.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Valued Contributor

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?

5 Replies
Highlighted

@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

Highlighted

@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).

Highlighted
Anyone know if activating via a site script is going to be the way to do this?
Highlighted

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. 

 

Tenant wide deployment 2.png