image for site

Setting User's Role with Group Membership in ADFS

Learn how to set a user's role in Zendesk based on their group membership in Active Directory using ADFS and SAML.

How can I set a user's role in Zendesk based on their group membership in Active Directory?

Setting a user's role in Zendesk based on their group membership in Active Directory is a two-step process.

First, create a new rule using the Send Group Membership as a Claim template. Locate the group you wish to map to the role and select Role for the Outgoing claim type. After creating the rule, edit it to create a custom rule by copying the rule language, removing the default string, and leaving only the word 'role'. This setup allows you to map group memberships to specific roles in Zendesk.


More related questions

How do I pass a user's full name from Active Directory to Zendesk using ADFS and SAML?

To pass a user's full name from Active Directory to Zendesk using ADFS and SAML, you need to create a rule with the Send LDAP Attributes template. In the LDAP Attribute section, add a row for Surname and a row for Given-Name. For the Outgoing Claim…

How can I map a user's organization from Active Directory to Zendesk?

Mapping a user's organization from Active Directory to Zendesk involves creating a rule with the Send LDAP Attributes template. You need to select the field in Active Directory that you want to map to the organization in Zendesk. For the LDAP…

How do I pass a user's phone number from Active Directory to Zendesk?

To pass a user's phone number from Active Directory to Zendesk, you need to create a rule using the Send LDAP Attributes template. In the LDAP Attribute section, select Telephone-Number. For the Outgoing Claim Type, type 'phone' in lowercase. This…

How do I set a custom role for a user in Zendesk using ADFS and SAML?

To set a custom role for a user in Zendesk using ADFS and SAML, you'll need to use the Custom Agent Roles API to get the role ID. Follow the steps for creating a generic role rule, but instead of using 'agent' or 'admin' for the Outgoing claim…

Interested indeflectingover 70% of your Zendesk support tickets?

Our AI customer support agent is here to help. Trained on all your help docs, installed directly into your Zendesk account, it can be used to automate customer replies for tickets or live chat. Learn more below.
Zendesk logo

Zendesk Support Tickets

Receive new tickets by email or a support form? This integration is for you.
My AskAI integrated within Zendesk to deflect support tickets
Learn about our Zendesk ticket integration
Zendesk logo

Zendesk Messaging (live chat)

Using Zendesk's Messaging widget on your site for live chat? This integration is for you.
My AskAI integrated within Zendesk to deflect customer support live chat conversations
Learn about our Zendesk Messaging integration

Join1,000+ companies reducing their support costs and freeing up support agents for more important work

Vestd company logo — Customer of My AskAI's AI customer support agents
Genesis company logo — Customer of My AskAI's AI customer support agents
Zinc company logo — Customer of My AskAI's AI customer support agents
Customer.io company logo — Customer of My AskAI's AI customer support agents
Zeffy company logo — Customer of My AskAI's AI customer support agents
NHS company logo — Customer of My AskAI's AI customer support agents
Kontakt.io company logo — Customer of My AskAI's AI customer support agents

Reduce support costs.Spend more time on customer success.

Our AI customer support agents are already used by 👇
Companies using AI assistants on their websites