Share via

Calendar Access full transfer using power automate and azure automation

upendar naik 0 Reputation points
2026-04-06T17:20:18.49+00:00

I have a SharePoint list and I'm updating the details like Owner Email , EA Email and Back Up EA Email , StatrtDate , EndDate , remove EA access

now when create a item in SharePoint list flow should trigger it should check if EA is having access to Owners calendar if having then if Remove EA access is Yes then remove it if not just Add Back UP EA to Owners calendar so that Back Up EA can have full control over Owners Calendar (Back UP EA should manage entire Outlook on behalf of Owner)

please guide how can i achieve this if possible with detailed step . Thanks

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.


1 answer

Sort by: Most helpful
  1. Siva shunmugam Nadessin 8,325 Reputation points Microsoft External Staff Moderator
    2026-04-07T01:59:54.78+00:00

    Hello upendar naik,

    When investigated we see that you have correctly Used the HTTP connector with Microsoft Graph, Registered an Azure AD App, Granted Calendars.ReadWrite.Shared (Application) permission, Added the Backup EA to the Owner’s calendar

    As a result, the Backup EA can:

    • View the calendar
    • Create and modify calendar events

    This behavior is expected and correct

    The key limitation is by design Microsoft Graph cannot provide full Outlook mailbox control.

    Even with application permissions, Graph does not support:

    Reading or sending emails, Managing the Inbox, Responding to meeting requests, Acting fully on behalf of the mailbox owner. This is a security boundary enforced by Microsoft

    To give the Backup EA the same level of access as the Owner (emails + calendar):

    Exchange Online Full Access Mailbox Permission is required

    This is the only supported method to allow:

    • Full email access
    • Send/respond to meeting requests
    • Full mailbox management

    The recommended solution architecture

    Since you want automation and no service account:

    Power Automate + Azure Automation (Managed Identity)

    In high-level How it works is

    1. SharePoint List
      • Owner email
      • Backup EA email
      • Start / End dates
      • “Remove access” flag
    2. Power Automate
      • Trigger: Item created
      • Calls an Azure Automation Runbook
    3. Azure Automation
      • Uses System‑Assigned Managed Identity
      • Runs Exchange Online PowerShell
      • Grants or removes mailbox permissions 

    Example actions performed by Automation

    Grant full access

    Add-MailboxPermission -Identity ******@company.com -User ******@company.com -AccessRights FullAccess
    

    Remove access

    Remove-MailboxPermission -Identity ******@company.com -User ******@company.com -AccessRights FullAccess -Confirm:$false
    

    Access can be removed and re‑assigned anytime based on your SharePoint logic.

    So, if any step fails:

    • Power Automate sends an email notification to Admin
    • Optional: update SharePoint item status

    The final takeaway is Microsoft Graph is suitable for calendar-only access,  Graph cannot provide full Outlook/mailbox access, Full Outlook control requires Exchange Online mailbox permissions,  Azure Automation with Managed Identity is secure, supported, and scalable, No personal credentials needed

    Fully reversible and auditable. Hope this helps!! Let us know if you have any questions?

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.