Skip to main content

Notifications

Power Automate - Using Flows
Answered

Calendar event from Shared Mailbox ID is malformed

(0) ShareShare
ReportReport
Posted on by

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

 

  • RobinKersey Profile Picture
    RobinKersey 4 on at
    Re: Calendar event from Shared Mailbox ID is malformed

    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.

     

  • Melinda Profile Picture
    Melinda on at
    Re: Calendar event from Shared Mailbox ID is malformed

    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
    RobinKersey 4 on at
    Re: Calendar event from Shared Mailbox ID is malformed

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

  • srose Profile Picture
    srose 94 on at
    Re: Calendar event from Shared Mailbox ID is malformed

    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?

  • srose Profile Picture
    srose 94 on at
    Re: Calendar event from Shared Mailbox ID is malformed

    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."
  • Melinda Profile Picture
    Melinda on at
    Re: Calendar event from Shared Mailbox ID is malformed

    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. 

  • Verified answer
    Melinda Profile Picture
    Melinda on at
    Re: Calendar event from Shared Mailbox ID is malformed

    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. 

  • mcin9781 Profile Picture
    mcin9781 on at
    Re: Calendar event from Shared Mailbox ID is malformed

    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?

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,636

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,942

Leaderboard

Featured topics

Restore a deleted flow