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 / Power Automate / Headache inviting exte...
Power Automate
Answered

Headache inviting external users to SP Site

(1) ShareShare
ReportReport
Posted on by 16

Hi all, 

 

I've been lurking for a while, but up to this point I've always managed to find an exsiting solution to my problems!

 

I'm stuggling with this though. 

 

I'm created a SP site which is used to deseminate and share information colaberatively with our clients.  All our clients are external users and so I've created a flow which creates them a non licenced user account, and add it into an appropriate AD Security group to grant them the correct level of access. 

 

This all works well, however the probelm comes if the client's organistaion already uses O365. The flow issues the user an email with an @mydomain.co.uk user name and password, but even if they sign in with those credentialswhen prompted, they will receive an error stating that they're not authorised for that resouce.  I think this is becuase their other O365 account is not authorised for that resouce, this is borne out by the fact that this issue can be worked around by working in a Private browsing window. 

 

This isn't an ideal solution as it requires the users to do something extra, and the browser is unlikely to remember username and passwords in private mode with just complicated the process from the clien'ts point of view. 

 

I know that I can get round this issue by Inviting client's who already use office 365 directly to the site using their email exisitng sign in account rather than creating them a new one - but this involves a manual step in the onboarding process. 

 

The flow is triggered from a SP list, so for the moment I've added a boolean "Has Exisitng O365 Account" collum to the list, and a condition on this to the flow. 

 

My questions then are thus! How can I automate the invitation process to the existing O365 Users, or better still remove the need to ask the question about their O365 user by adding all new client's emails (taken to be their O365 login if they use it) to their created (@mydomain.co.uk) accounts so that the when they're accessing my site they're exsiting O365 account will have credentails for it. 

 

My flow so far is below.  Looking forwards to your input. 

 

Graeme 

 

 

new client flow.PNG

 

Categories:
  • Verified answer
    v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @GKC,

     

    I afraid that thereis no any way to automate the invitation process to the existing O365 Users to achieve your needs.

     

    If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

    Best regards,

    Alice

  • GabrielStJohn Profile Picture
    Microsoft Employee on at

    Hello, @GKC!

     

    If you have already posted your idea to the Flow Community Ideas Forum then you need to post the URL to your idea’s thread as a reply to this thread and then "Accept as Solution" on that reply so other users may vote for your Flow Idea and identify the information easily.

     

    Thank You!

     

    -Gabriel
    Flow Community Manager

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 330

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 123

Last 30 days Overall leaderboard