SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.24k stars 1k forks source link

Creating custom themes with REST API doesn't work on some tenants #9210

Open lhdeveloper opened 1 year ago

lhdeveloper commented 1 year ago

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Developer environment

macOS

What browser(s) / client(s) have you tested

Additional environment details

Describe the bug / error

I'm using this REST Api to run the CRUD for custom themes in my SPFX project.

I've implemented this application on several different tenants, and in some cases the creation of themes doesn't work. I don't get any errors from the AddTenantTheme enpoint, the request is successful but the theme isn't created.

How can I find out what might be happening in this case since I don't have an error to check or compare?

Steps to reproduce

-I assemble the JSON with the information needed to create the theme. -I send the information to the AddTenantTheme endpoint; -I get a success message, but the theme is not created in the tenant

Expected behavior

After sending the Json to the endpoint, it would create the customized theme in the tenant.

The application has been installed on several different tenants, on some it works and on others it doesn't.

I don't know if it might have something to do with the configuration of the tenant, or the site collection in which the application was installed, but I analyzed the environments and they all seem to be configured equally.

ghost commented 1 year ago

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