4.22 Register Swyx applications in Azure using PowerShell scripts
You can use the PowerShell script to create or update a Microsoft Entra ID application registration for Swyx integrations. The script registers the corresponding Swyx application in Microsoft Entra ID and generates a secret client key for further configuration in the Swyx Control Center.
The script can register two Swyx applications for:
or
The file EntraID_PowerShell_Configuration.zip can be downloaded from this website:
To register the Swyx application for federated services
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
For example: cd 'C:\Users\<user.name>\Downloads\EntraID_PowerShell_Configuration\'
get-help -full RegisterSwyxEntraIDApp.ps1
.\RegisterSwyxEntraIDApp.ps1
1) Swyx Federated Services
SUCCESS
------------------------------------
Application ID:
Tenant/Domain ID:
Client Secret:
Secret expires:
OpenID Connect Metadata Document:
------------------------------------
------------------------------------
Application ID:
Tenant/Domain ID:
Client Secret:
Secret expires:
OpenID Connect Metadata Document:
------------------------------------
How to register the Swyx app for Swyx Direct
With this registration type, the onboarding script temporarily assigns additional Microsoft Entra directory roles.
After successful deployment, remove only these temporary onboarding roles using the command provided below, see step (15).
After successful deployment, remove only these temporary onboarding roles using the command provided below, see step (15).
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
For example: cd 'C:\Users\<user.name>\Downloads\RegisterSwyxEntraIDApp'
get-help -full RegisterSwyxEntraIDApp.ps1
.\RegisterSwyxEntraIDApp.ps1
2) Swyx Teams Direct Routing
SUCCESS
------------------------------------
Application ID:
Tenant/Domain ID:
Client Secret:
Secret expires:
OpenID Connect Metadata Document:
------------------------------------
------------------------------------
Application ID:
Tenant/Domain ID:
Client Secret:
Secret expires:
OpenID Connect Metadata Document:
------------------------------------
.\RegisterSwyxEntraIDApp.ps1 -RemoveOnboardingRoles -ApplicationId '<Application ID>'