<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D50Z00008G7VbdSAFOkta Classic EngineLifecycle ManagementAnswered2024-04-16T13:01:36.000Z2018-08-08T21:31:36.000Z2020-04-07T18:36:50.000Z
Populating manager attribute for Slack
Slack expects the user's manager to come in the form of their Slack ID number (not their name). They ignore the value if you send a string like "John Smith". 

 

Is there an Okta expression or some other method to populate this value correctly? I'm not positive it can be done in Okta alone.

  • Paul S. (Okta, Inc.)

    Hello Ryan,

     

    This can be changed in the Profile Editor of the application.

    If the attribute is a name, you can use an expression like this String.removeSpaces(user.attribute) + "@domain.com". Or you can map a different attribute. For expression language you ca use this documentation https://developer.okta.com/reference/okta_expression_language/

    If you require further assistance please Open a case with Support.

     

    Paul Stiniguta

    Technical Support Engineer

    Okta Global Customer Care

    Expand Post
  • MehmetK.00586 (Customer)

    hi Ryan, Paul

    I dont think this answer is a solution, yes we can map any value in profile editor to send but this does not mean it will be accepted on the SP side. Slack requires managers slack external ID not username, not email address. It only works if managers externalid is mapped. I have tried to get managers externalID using expression " getManagerAppUser("active_directory", "slack").core10___externalId " but even if ExternalID attribute added to slack profile with core10___externalId as variable name is the variablename for externalID mapping fails with "invalid property core10___externalId in expression "

     

    Ryan, if you figured a solution for this I appreciate if you can share it with me 🙂 

    Expand Post
  • not sure if this helps, but this is how it worked for us - "getManagerAppUser("active_directory", "slack").externalId" 

This question is closed.
Loading
Populating manager attribute for Slack