web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Automating approvals f...
Power Automate
Suggested Answer

Automating approvals for external user requests in sharepoint through invite manager

(2) ShareShare
ReportReport
Posted on by 14
I would like to be able to create a flow for the automatic approval of sharepoint access requests for external users. The requests are sent by email from a handful of internal colleagues and their line manager clicks a link in the email that takes him/her to the invite manager website where he/she clicks another button to approve the request which then automatically sends an invite email to the external user who then clicks a button in the email to accept the invite that then takes them to the sharepoint site. Sometimes it works and sometimes it doesn't. Then the line manager sends an email to the internal requesters to tell them whether it has been approved or if there has been a problem.
Unfortunately, the site is not owned by me so I am limited on what I can do in sharepoint in terms of settings!
Please can you help? Thank you in advance!!
J
 
Categories:
I have the same question (0)
  • Suggested answer
    Jon Unzueta Profile Picture
    1,827 Super User 2025 Season 2 on at
     

    You're trying to automate a SharePoint external access approval workflow, but you're limited by not owning the site and relying on manual steps via the Invite Manager website. Here's how you can approach this with Power Automate, even with limited SharePoint permissions:


    ✅ Goal Recap

    You want to:

    1. Automatically detect access request emails.
    2. Trigger an approval flow for the line manager.
    3. If approved, send an invite to the external user.
    4. Notify internal requesters of the result.

    🛠️ Suggested Power Automate Flow Structure

    Step 1: Trigger on Incoming Email

    • Use the “When a new email arrives” trigger.
    • Filter by:
      • Sender (internal colleagues)
      • Subject or body content (e.g., contains “SharePoint access request”)

    Step 2: Extract Request Details

    • Use HTML or text parsing to extract:
      • External user’s email
      • Requester’s name
      • SharePoint site name or link

    Step 3: Start Approval Process

    • Use “Start and wait for an approval” action.
    • Send to the line manager with request details and a link to the Invite Manager (if needed).
    • Include Approve / Reject buttons.

    Step 4: Conditional Logic

    • If Approved:
      • Use HTTP request to call Microsoft Graph API or SharePoint API to send an invite (if permissions allow).
      • Or send a manual invite email to the external user with a link to accept.
    • If Rejected:
      • Skip invite step.

    Step 5: Notify Internal Requesters

    • Send an email to the original requester with the result:
      • Approved → “Invite sent”
      • Rejected → “Request denied”

    ⚠️ Limitations & Workarounds

    Since you don’t own the site:

    • You may not be able to send invites directly via API.
    • You can still automate the email and approval process, and notify the site owner or use a shared mailbox to forward the invite request.

    🔄 Alternative: Use Microsoft Entra ID (Azure AD B2B)

    If your organization uses Microsoft Entra ID (formerly Azure AD):

    • You can automate guest user invitations using Graph API.
    • This requires admin consent and app registration.
     
     
    🏷️ Tag me if you have any further questions or if the issue persists.
    ✅ Click "Accept as Solution" if my post helped resolve your issue—it helps others facing similar problems.
    ❤️ Give it a Like if you found the approach useful in any way.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard