Fix SharePoint REST API AddTenantTheme Returns False in Power Automate
Question details
The user is attempting to add a new tenant theme via the SharePoint REST API using Power Automate, but the operation is unsuccessful.

- Product
- SharePoint and Power Automate
- Device & OS
- not provided
- Scenario
- Executing a REST API call within a Power Automate flow to create and apply a custom SharePoint tenant theme.
- Observed behavior
- The HTTP request returns a 200 OK status code, but the AddTenantTheme property returns false and the theme is not created.
Ensure you have SharePoint Administrator privileges and verify that your themeJson payload is properly formatted as a stringified JSON object before troubleshooting further.
Consult the Microsoft Power Automate Community
Because this issue involves complex request bodies, permissions, and specific payload formatting within Power Automate flows, engaging Microsoft specialists is the most effective way to resolve it.
An HTTP 200 response simply means the server successfully received the request. However, logical failures such as an invalid theme palette, malformed JSON stringification, or missing tenant-level permissions will cause AddTenantTheme to return false.
Gather your exact SharePoint REST API request body, the specific themeJson payload, and note your current permission levels within the Microsoft 365 environment.
Review your request structure and output logs, carefully removing any sensitive tenant information, authentication tokens, or personal data.
Navigate to the official Microsoft Power Automate Community forums. Create a new topic detailing the HTTP 200 response alongside the false AddTenantTheme result, and attach your sanitized payload.

Looking for a Lightweight Office Suite Alternative?
While complex API endpoints and specialized SharePoint automation require dedicated Microsoft environments, your everyday document, spreadsheet, and presentation tasks don't have to be heavy or expensive. WPS Office is a highly compatible, free alternative for managing all your local and downloaded office files.

Frequently Asked Questions
Why does my SharePoint REST API call return HTTP 200 but fail to execute?
An HTTP 200 status code indicates that the server successfully received and communicated with the endpoint. However, the logical operation (like AddTenantTheme) can still fail and return false due to payload formatting errors, missing required properties, or insufficient tenant permissions.
How do I correctly format the themeJson payload for AddTenantTheme?
The themeJson payload must be a properly escaped, stringified JSON object containing valid theme palette properties. Missing or improperly formatted color hex codes, or failing to stringify the JSON object within the Power Automate HTTP request body, will cause the theme creation to be rejected.
Do I need special permissions to add a tenant theme in SharePoint?
Yes, adding a tenant theme across a Microsoft 365 environment requires SharePoint Administrator or Global Administrator privileges. Standard site owner or member permissions are insufficient to execute the AddTenantTheme endpoint.




