0D5KZ00000gnZJL0A2Okta Classic EngineAPI Access ManagementAnswered2025-04-30T19:58:52.000Z2025-04-16T09:39:23.000Z2025-04-30T19:58:52.000Z

VigneshK.54782 (Customer) asked a question.

Groups.startsWith("active_directory","",50) -> I have used this expression to get all active directory group in okta for oidc claim but this expression not working under SAML Attribute statement, Please help here

Groups.startsWith("active_directory","",50) -> I have used this expression to get all active directory group in okta for oidc claim but this expression not working under SAML Attribute statement, Please help here


  • Mihai N. (Okta, Inc.)

    Hi @VigneshK.54782 (Customer)​ , Thank you for reaching out to the Okta Community! 

     

    This is not supported. As per the documentation, "The Groups.contains, Groups.startsWith, and Groups.endsWith group functions are designed to work only with group claims. You can't use these functions with property mappings." 

    You can suggest a Feature Enhancement on the Okta Community page by going to the Community Ideas tab. Features suggested in our community are reviewed and can be voted and commented on by other members. High popularity will increase the likelihood of it being picked up by the Product Team and it being implemented. 

    More details here.

     

     

    If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you. 

     

    Hope my answer helps! 

     

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Collect them all. Learn a new skill and earn a new Okta Learning badge.

    Expand Post
    Selected as Best
  • Mihai N. (Okta, Inc.)

    Hi @VigneshK.54782 (Customer)​ , Thank you for reaching out to the Okta Community! 

     

    This is not supported. As per the documentation, "The Groups.contains, Groups.startsWith, and Groups.endsWith group functions are designed to work only with group claims. You can't use these functions with property mappings." 

    You can suggest a Feature Enhancement on the Okta Community page by going to the Community Ideas tab. Features suggested in our community are reviewed and can be voted and commented on by other members. High popularity will increase the likelihood of it being picked up by the Product Team and it being implemented. 

    More details here.

     

     

    If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you. 

     

    Hope my answer helps! 

     

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Collect them all. Learn a new skill and earn a new Okta Learning badge.

    Expand Post
    Selected as Best
This question is closed.

Recommended content

No recommended content found...