web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : PYVT8VLdE/MKjLkOLZv2Mu
Power Automate - Connector Development
Answered

Custom connector Error 404: Unable to call on the Office Management API

Like (0) ShareShare
ReportReport
Posted on 9 Aug 2022 13:20:00 by 9

Hi all,

 

Currently working from my developer environment and trying to make a custom connector to fetch all Admin message center messages. I am following the steps in this document.

A Flow Custom Connector to read O365 Communications API - Microsoft Tech Community

 

I have registered my application and gave the API permission including admin consent. I  Unfortunately I receive this error message: 

Ingravity070_0-1660046085781.png

I have followed the tabs 

General:

Ingravity070_1-1660046141935.png

Security:

Resource URL: https://manage.office.com

 

Ingravity070_2-1660046168188.png

 

Definition: 

Ingravity070_0-1660050909707.png

I have tried several combinations for the get but it is not working. when I paste the api in the browser i get the 404 issue. This means something is wrong with the API. but i clearly copied from the blog.

this is wat 1 tried:

  1. https://manage.office.com/api/v1.0/<tentantID>/ServiceComms/Messages/api/v1.0/62jmjq.onmicrosoft.com/ServiceComms/Messages
  2. https://manage.office.com/api/v1.0/contoso.com7/ServiceComms/Messages/api/v1.0/62jmjq.onmicrosoft.com/ServiceComms/Messages
  3. https://manage.office.com/api/v1.0/62jmjq.onmicrosoft.com/ServiceComms/Messages/api/v1.0/62jmjq.onmicrosoft.com/ServiceComms/Messages

none of these combination worked. 

 

does anyone know how to fix this?

 

please note I work with a developer tenant and am unable to create a publisher domain. does this have to do something with the error?

 

 

Categories:
  • Verified answer
    Ingravity070 Profile Picture
    9 on 18 Aug 2022 at 08:35:47
    Re: Custom connector Error 404: Unable to call on the Office Management API

    I got this issue fixed! 

     

    In MC257688 Microsoft explained that they moved the API management permission to Graph. This means that you do not connect to manage.office.com anymore. you will need to connect to https://graph.microsoft.com

     

    First in app registration you request API permissions for Graph API. request for the following permission: 

    Ingravity070_0-1660810620895.png

     

    Next  configuring the custom connector.

     

    1. set for the tab general the host name to graph.microsoft.com and leave the Base URL empty

    Ingravity070_1-1660810713312.png

    2.  in the Security tab use your Client ID & Client Secret fill, login URL is https://login.windows.net, Tenant ID is common and for resource URL fill in https://graph.microsoft.com 

     

    3. For definition you create one action: 

          In the request section perform a GET with the link:    https://graph.microsoft.com/v1.0/admin/serviceAnnouncement/messages

     

    Ingravity070_2-1660810962551.png

     

    for the Section response use the following JSON sample:

    Due to my inexperience with JSON I was unable to load the sample. To get your sample go to https://graph.microsoft.com fill in this link with the query: https://graph.microsoft.com/v1.0/admin/serviceAnnouncement/messages

     

    copy All the code that shows up. 

     

    Completed these steps? then you are able to create and use the custom connector to retrieve the messages

     

     

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Loading complete