Is it possible to have multiple roles when using Azure AD for federated authentication to the CMS? Currently testing this with Sitecore 9.3.
I want to be able to assign to the AD user either Public Web Author
or Public Web Author
+ Developer
. However Sitecore only seems to pick one of the roles.
Identity server:
<Sitecore>
<ExternalIdentityProviders>
<IdentityProviders>
<AzureAd>
<ClaimsTransformations>
<AzureGroupTransformation type="Sitecore.Plugin.IdentityProviders.DefaultClaimsTransformation, Sitecore.Plugin.IdentityProviders">
<SourceClaims>
<Claim1 type="groups" value="76a85c07-e51f-4c87-8568-3e21dc3b9dce" />
</SourceClaims>
<NewClaims>
<Claim1 type="role" value="sitecore\Public Web Author" />
</NewClaims>
</AzureGroupTransformation>
<AzureGroupTransformation type="Sitecore.Plugin.IdentityProviders.DefaultClaimsTransformation, Sitecore.Plugin.IdentityProviders">
<SourceClaims>
<Claim1 type="groups" value="3064fb35-e2b9-4f9a-bdf7-7280e319fc52" />
</SourceClaims>
<NewClaims>
<Claim1 type="role" value="sitecore\Developer" />
</NewClaims>
</AzureGroupTransformation>
<AzureADUserToAdminUser type="Sitecore.Plugin.IdentityProviders.DefaultClaimsTransformation, Sitecore.Plugin.IdentityProviders">
<SourceClaims>
<Claim1 type="groups" value="8af5e84c-d1f1-4f44-9a46-e168e197b0dc" />
</SourceClaims>
<NewClaims>
<Claim1 type="http://www.sitecore.net/identity/claims/isAdmin" value="true"/>
</NewClaims>
</AzureADUserToAdminUser>
</ClaimsTransformations>
</AzureAd>
</IdentityProviders>
</ExternalIdentityProviders>
</Sitecore>