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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Calendar event from Sh...
Power Automate
Answered

Calendar event from Shared Mailbox ID is malformed

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am trying to create a Calendar event from a System Account. The system account is Domain and Mailbox and I updated the calendar permission to grant full access. Whenever I try to select the calendar under Calendar ID, it doesn't come up as an option. When I try to manually enter it, I get the ID is malformed error. I am not sure what else to try/where to set permission or if I am missing something else. I also tried adding the account as a connection and set the account as an owner on the flow but that didn't change anything. Below is the error I get: 

 

Id is malformed.
clientRequestId: d7ce1353-de68-4670-9a39-dc61f89cb4d4
serviceRequestId: 21a243b6-929b-4797-a375-7bd6431aff0f

Calendar.PNG

 

Categories:
I have the same question (0)
  • mcin9781 Profile Picture
    Microsoft Employee on at

    Hello,

    1.  Is the system account the owner of the connector?

    2. Are you able to create an event with a different general user?

    3.  Are you selecting the Calendar or entering the ID in the field?

     

  • Verified answer
    Melinda Profile Picture
    Microsoft Employee on at

    I figured out the issue and adding it here in case anyone else has the same issue. 

     

    In addition to granting full mailbox right, and adding the calendar to outlook, you also have to add the outlook calendar under "my calendars" within the Outlook browser version. 

  • Melinda Profile Picture
    Microsoft Employee on at

    Thanks for your response. I was able to figure out the solution. But to answer your questions. I tried logging in with the system account and making it an owner to the flow as well as creating a connecting with that account but none changed anything. 

    I was able to create an event with a different general user. 

    I couldn't find an ID anywhere and while I did search I was trying to select the calendar as that previously worked with other calendars. 

  • srose Profile Picture
    94 on at

    My app allows users to assign items to other users and then my app creates an event on the newly assigned user's calendar. The only way I see this work is if I assign the event to myself or in Flow, actually pick the name of the Shared Calendar manually. I want to have the app able to tell Flow the calendar id based on who the user picked. I have shared rights, accepted calendar, etc.

    I keep getting: 

    "body": {
            "status"400,
            "message""Id is malformed.\r\nclientRequestId: e6d66a1f-5aad-4929-a1dd-e31964c81dea\r\nserviceRequestId: 505a3fa2-92fc-4ee1-8380-f7c2608ed10b",
            "error": {
                "message""Id is malformed.",
                "code""ErrorInvalidIdMalformed",
                "originalMessage""Id is malformed."
  • srose Profile Picture
    94 on at

    I am having this same issue. I can create an event if I pick that user in Flow when it prompts for a calendar id. But I need a variable there that my PowerApp can assign whatever user gets assigned to the event. Can you help?

  • RobinKersey Profile Picture
    4 on at

    How can this be a solution if the account used is a Global Administrator and has no mailbox?

  • Melinda Profile Picture
    Microsoft Employee on at

    It probably can't. If you don't have a mailbox there probably isn't a calendar is there? E.g., Calendar invites go to your mailbox. You would have to set up a new account to be used for this specifically. Also, good note to remember, if other people utilize your flows you have to share that connection so using a Global Administrator account 'may' not be the best option. We set up this account specifically for the purpose of our flows. Not sure if this helps. 

  • RobinKersey Profile Picture
    4 on at

    I'm still failing to get this template to work 'Create a copy of an Office 365 Outlook event'

    Whatever i put in the Calendar ID field, i get a Malformed ID error. I have put an email address but can't see how to get a calendar ID for a Room or Shared calendar.

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 283

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard