Others

Fix SharePoint REST API AddTenantTheme Returns False in Power Automate

Algirdas JasaitisAlgirdas Jasaitis Oct 23, 2026 870 views

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.

How to Fix SharePoint REST API AddTenantTheme Returning False
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.
Before you start

Ensure you have SharePoint Administrator privileges and verify that your themeJson payload is properly formatted as a stringified JSON object before troubleshooting further.

Solution 1Recommended

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.

1
Prepare your flow data

Gather your exact SharePoint REST API request body, the specific themeJson payload, and note your current permission levels within the Microsoft 365 environment.

2
Sanitize your payload

Review your request structure and output logs, carefully removing any sensitive tenant information, authentication tokens, or personal data.

3
Post in the community forum

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.

Consult the Microsoft Power Automate Community
Provide Context: Providing a screenshot of your Power Automate HTTP action (with sensitive data blurred) will help community specialists diagnose the issue much faster.
Free Microsoft Office alternative

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.

Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Perfect for handling documentation, reports, and data exported from SharePoint workflows.Lightweight architecture ensures quick installation and smooth performance on any device.Familiar tabbed user interface minimizes the learning curve and makes transitioning easy.
microsoft office alternative - wps office

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.