Update Calendar event PATCH /users/{id | userPrincipalName}/calendars/{id}/events/{id} giving error

%3CLINGO-SUB%20id%3D%22lingo-sub-2471999%22%20slang%3D%22en-US%22%3EUpdate%20Calendar%20event%20PATCH%20%2Fusers%2F%7Bid%20%7C%20userPrincipalName%7D%2Fcalendars%2F%7Bid%7D%2Fevents%2F%7Bid%7D%20giving%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2471999%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22thread-message-content-body-text%20thread-full-message%22%3E%3CP%3EHi%20team%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20getting%20below%20error%20from%20postman%20when%20I%20try%20to%20perform%20the%20Patch%20operation%3CBR%20%2F%3E%3CBR%20%2F%3Eid%20used%20after%20%2Fcalendars%20is%20the%20iCalUId%20generated%20while%20creating%20calendar%20event%20and%20id%20used%20after%20%2Fevents%20is%20the%20event%20id%20generated.%3CBR%20%2F%3EPlease%20guide%20us%20what%20is%20the%20correct%20way%20to%20use%20the%20api%20%2C%20as%20tried%20multiple.%20ways%20%26nbsp%3Band%20still%20facing%20the%20error%3CBR%20%2F%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%3E%3CP%3E%22error%22%3CSPAN%3E%3A%20%7B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FDIV%3E%3CDIV%3E%3CP%3E%22code%22%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%22ErrorInvalidIdMalformed%22%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%3C%2FDIV%3E%3CDIV%3E%3CP%3E%22message%22%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%22Id%20is%20malformed.%22%3C%2FP%3E%3C%2FDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FP%3E%3C%2FDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3E%7D%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EIS%20the%26nbsp%3BiCalUId%20which%20I%20am%20supplying%20in%20the%20Patch%20call%20incorrect%20%3F%26nbsp%3B%3CBR%20%2F%3EWhat%20is%20the%20way%20to%20update%20calendar%20for%20a%20user%20which%20has%20multiple%20invites%20sent%20and%20we%20need%20to%20update%20one%20single%20instance%20of%20his%20calendar%20from%20ms%20graph%20api%20update%20event%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2471999%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Emeetings%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2474552%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20Calendar%20event%20PATCH%20%2Fusers%2F%7Bid%20%7C%20userPrincipalName%7D%2Fcalendars%2F%7Bid%7D%2Fevents%2F%7Bid%7D%20giving%20er%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2474552%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1085490%22%20target%3D%22_blank%22%3E%40Niketa_Mane%3C%2FA%3E%26nbsp%3B-%20We%20are%20not%20able%20to%20repro%20the%20issue%20at%26nbsp%3B%20our%20end.%20Could%20you%20please%20check%20this%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fevent-update%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Edoc%3C%2FA%3E%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi team,

 

I am getting below error from postman when I try to perform the Patch operation

id used after /calendars is the iCalUId generated while creating calendar event and id used after /events is the event id generated.
Please guide us what is the correct way to use the api , as tried multiple. ways  and still facing the error
{

"error": {

"code""ErrorInvalidIdMalformed",

"message""Id is malformed."

}

}


IS the iCalUId which I am supplying in the Patch call incorrect ? 
What is the way to update calendar for a user which has multiple invites sent and we need to update one single instance of his calendar from ms graph api update event 



3 Replies

@Niketa_Mane - We are not able to repro the issue at  our end. Could you please check this doc?

@Nikitha-MSFT , thanks for checking.
We found an issue performing with update as below
Updating the attendees for the event replaces the previous attendees and not adds them into invite

@Niketa_Mane _ when you update the attendees you need to add all the attendees - update  attendees will be replaces with the new attendees. This is by design.