Create RDM Role linked to AzureAD

Create RDM Role linked to AzureAD

avatar

Hello,
I look for the powershell module command to create a RDM role linked to an azure AD group

I found New-RDMRole but with this one I were only able to create local groupe.

What is the right set of commands to create a Devolutions Server group linked to Azure AD please?

Thank you
Sébastien

All Comments (2)

avatar

I found :
Just have to invoke New-RDMRole with teh same name as the AzureAD groupe
update ServerUserType to "AzureAD"
and invoke Set-RDMRole

avatar

Hello,

You found the correct information, you can use the following to change the user type of the role:

$role = New-RDMRole -Name "AAD-Group"
$role.serverUserType = "AzureAD"
Set-RDMRole $role

Best regards,

Richard Boisvert