Share via

SharePoint Rest API AddTenantTheme Returning False

Anonymous
2022-06-13T18:38:30+00:00

I am using the REST API to create a SharePoint theme through Power Automate, the API call is returning a 200 (success) code but its output value is returning false and the theme is not being created.

Custom_Theme_Palette:

{

"palette": {

"themePrimary": "#ee3a43",

"themeLighterAlt": "#fef7f7",

"themeLighter": "#fcdddf",

"themeLight": "#fac1c4",

"themeTertiary": "#f4858a",

"themeSecondary": "#ef4f57",

"themeDarkAlt": "#d5333b",

"themeDark": "#b42b32",

"themeDarker": "#852025",

"neutralLighterAlt": "#faf9f8",

"neutralLighter": "#f3f2f1",

"neutralLight": "#edebe9",

"neutralQuaternaryAlt": "#e1dfdd",

"neutralQuaternary": "#d0d0d0",

"neutralTertiaryAlt": "#c8c6c4",

"neutralTertiary": "#c2c2c2",

"neutralSecondary": "#858585",

"neutralSecondaryAlt": "#858585",

"neutralPrimaryAlt": "#4b4b4b",

"neutralPrimary": "#333333",

"neutralDark": "#272727",

"black": "#1d1d1d",

"white": "#ffffff"

}

}

Outputs:

{

"name": "Company Red",

"themeJson": "@{outputs('Compose_-_Custome_Theme_Pallette')}"

}

I can't work out why the value is returning false or where I could be going wrong. Any suggestions?

The output is as follows:

Microsoft 365 and Office | SharePoint | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-06-13T21:11:29+00:00

    Dear Josh,

    Thanks for posting in the community.

    Since we have a specific channel Microsoft Power Automate Community coping with such using flow issues, I suggest you post a new thread there for expert help. Sorry for that our category may have limited resources for checking on the situation further.

    Sincerely,

    George | Microsoft Community Moderator

    ***Note: In the event that you're unable to reply to this thread, please ensure that your Email address is verified in the Community Website by clicking on Your Account Name > "My Profile" > "Edit Profile" > Add your Email Address > tick "Receive email notifications" checkbox > click on "Save".***

    Was this answer helpful?

    0 comments No comments