You can try using the Graph API to get the event ID.
GET https://graph.microsoft.com/v1.0/me/events?$select=id,subject
Prefer: outlook.timezone="Pacific Standard Time"
However, if the user moves the event to another calendar, the event ID might change. One way to solve this problem is to use an immutable ID.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.