Power Automate : Invite External User

Managing collaboration and communication with external users is a challenge and InviteUser functionality in Azure help IT Managers simplify this. Lets see how we could invite an External user using Power Automate. Technically, I would recommend an approval process followed by an invite request. For this blog post, lets focus how we could invite an external user.

Initialize the TenantID, Client ID, SecretID in a variables. If you followed all the posts so far, you would know how to fetch the ClientID and SecretID (Azure AD app registration process). 


Use a http post api request to get the Token

Now Parse the Body to extract the access token and make another http post request with the customizedmessage. Something like the below :

Yellow : the external user details
Pink : if you like to CC the invitation so you keep track of all invitations
Blue : Customized message you like to send it to the external user
Orange : Where the external users are redirected to once they accept the invitation.

Typical Usecase : When you want some external user (could be a vendor or a customer) whom you want to securely collaborate and communicate say sharing files and having teams chat colloboration consistently, your best case scenario is to invite an external user as above.

I would make sure to have an Approval around this!

Comments