I am attempting to use setSiteBranding in a Site Design script. However when I do it says "This action is part of an experimental feature that is not supported in the current environment."
I don't see anything in this documentation that says this feature isn't in general release, I also do not see anything that allows me to track when this feature will become available.
I have checked the roadmap here https://www.microsoft.com/en-ca/microsoft-365/roadmap?ms.url=roadmap&rtc=1&filters= with no luck.
Is there a way to find out when I can use this feature? If I should be able to now, any way I can find out why I can't?
I have tested in multiple Tenants. One is my demo tenant with targeted release enabled.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
I'll let Microsoft confirm... but there appears to be quite a bit of conflicting information in this regard. I believe setSiteBranding was announced at SPCNA as new feature coming.
A PR was added #4091 recently for this documentation...
The JSON Schema in the documentation https://developer.microsoft.com/json-schemas/sp/site-design-script-actions.schema.json doesn't appear to even include this action... so I'm not sure if the schema is even valid anymore.
I have also tested in my environment and confirmed it does not work. I'm guessing the documentation may have been published a bit too early, before the functionality has been deployed across tenants. I would be interested in knowing more about this as well.
Also excited to get some news on this, we had to fall back to CSOM for our (production) implementation...
Don't know if it helps. But today I was able to set the header layout to compact via the setSiteBranding site script action in a targeted release tenant.
I haven't seen that exception message for this action anymore: "This action is part of an experimental feature that is not supported in the current environment.". I've just applied setSiteBranding to an existing communication site and everything worked properly on my standard release tenant. It looks like setSiteBranding action has been finally released!
@andrewconnell #please-close This action was deployed previously and comments on ticket, note it's been resolved.
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