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 / Copilot Studio / Problem with mapping C...
Copilot Studio
Answered

Problem with mapping Calendar ID

(3) ShareShare
ReportReport
Posted on by 56
Agent does not fill in Calendar ID in Teams and Outlook tools connected with calendar correctly. I tried email / mine / primary, ... Sometimes it works, sometimes it does not. Do you know how to fix this permanently? Thank you !
I have the same question (0)
  • Nivedipa-MSFT Profile Picture
    Microsoft Employee on at
    Hello  ,

    The AI currently guesses the Calendar ID each time, which causes inconsistency. To resolve this, set it to a fixed value.

    In Copilot Studio, open the calendar action and go to the Calendar Id field:

    1. Change from "Dynamically filled by AI" to "Custom value".
    2. Set it to either:

    Additional notes:

    • Do not use email addresses or "mine" as Calendar ID values, as these are not valid.
    • Update the action description to: "Always use primary unless the user specifies a different calendar."
    • For shared calendars, create separate actions with the GUID hard-coded.

    This will ensure the Calendar ID remains consistent.

    If you found the information above helpful, I would appreciate it if you could share your feedback.

    Your feedback is important to us. Please rate us:

    🤩 Excellent 🙂 Good 😐 Average 🙁 Needs Improvement 😠 Poor

  • VJ-22041215-0 Profile Picture
    56 on at
    @Nivedipa-MSFT It is weird, because in this case it filled in "primary" correctly but still raised an error.
  • chiaraalina Profile Picture
    2,036 Super User 2026 Season 1 on at
     
    From my experience, you need to pass the actual Calendar ID.
    Primary usually won’t work in this action. Has primary ever worked reliably for you?

    The Calendar ID field should receive the real calendar id returned from a tool like Get calendars (V2). Do you already have a step that retrieves the actual calendar IDs and so it can pass the returned id into the calendar action?
  • Verified answer
    VJ-22041215-0 Profile Picture
    56 on at
    @chiaraalina For some reason it never uses the Tool to Get calendars by itself. What helped was to keep the Input as AI filled but to add instructions to always keep primary Calendar ID. 
  • chiaraalina Profile Picture
    2,036 Super User 2026 Season 1 on at
    @VJ-22041215-0 could you share a few screenshots or details of the current setup?
     
    • Is this implemented as a topic or tool?
    • Is the Calendar ID field marked as “Dynamically filled by AI”?
    • What is the intended purpose of the agent?
  • VJ-22041215-0 Profile Picture
    56 on at
    • It is implemented as a tool.
    • Yes.
    • An assistant for managing daily work across Outlook and Microsoft Teams. It should identify and summarize the most important emails in high-volume inboxes, monitor Teams chats and mentions to highlight what needs attention, track upcoming meetings while identifying scheduling conflicts, and provide decision support by highlighting messages requiring immediate responses. But I am still more unsure it will ever be able to act like this.

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 634

#2
Vish WR Profile Picture

Vish WR 315

#3
Haque Profile Picture

Haque 219

Last 30 days Overall leaderboard