Hi there,
Powershell orchestration in Freshservice would be the best way to go here but if that aint an option for you, you can check if there are any API endpoints that Microsoft Graph or Azure AD offers which can be called from a web request in Freshservice automator. You can also explore if this is something that can be done via Azure AD orchestration in Freshservice.
One other workaround is to use group based role assignments in Azure AD, create a group that will assign the ‘Guest inviter’ role to the users and then add the users to these group using Azure AD orchestration in Freshservice.
Hi @Kevin_S,
You can achieve this without PowerShell by using Microsoft Graph API with a custom app registration in Azure AD. First, register an app in Azure AD, grant it User.Invite.All permission, and generate a client secret. Then, from Freshservice (FS), use the Webhook node in the workflow automator to call the Microsoft Graph /invitations endpoint using the app's client credentials. This will let you invite a guest user by sending a POST request with the guest's email and redirect URL. No PowerShell needed—just RESTful API calls via webhook.
Hi @Kevin_S,
You can achieve this without PowerShell by using Microsoft Graph API with a custom app registration in Azure AD. First, register an app in Azure AD, grant it User.Invite.All permission, and generate a client secret. Then, from Freshservice (FS), use the Webhook node in the workflow automator to call the Microsoft Graph /invitations endpoint using the app's client credentials. This will let you invite a guest user by sending a POST request with the guest's email and redirect URL. No PowerShell needed—just RESTful API calls via webhook.
Interesting. I have it running with a powershell but that keeps reporting back issues now and then. This webhook is this the web request? Could you give some more information how to call the microsoft graph?