Forum Discussion
exchange 2010 outlook anywhere only for specific users
Has anyone setup a policy using APM to allow "Outlook Anywhere" connections to Exchange 2010 but only for specific users that are a member of a specific AD group.
We've been trying to get this working but appear to be finding that the credentials passed to the AD Query stage using this: (UserPrincipalName=%{session.logon.last.logonname}) when it gets passed to the SSO Credential Mapping stage and ultimately to Exchange then it gets rejected as exchange is looking for DOMAIN\USERNAME type.
Any advice/pointers on how to resolve this would be appreciated.
2 Replies
Hi,
You can use a variable assign block in the VPE to concat the domain and the username. Ex:
session.logon.last.username = expr { [concat "[mcget {session.ntlm.last.domain}]\\[mcget {session.ntlm.last.username}]" ] }You may have to change the variable names as it may differ depending on your deployment. You can find which variable are used by visiting the Access Report.
- Stanislas_Piro2
Cumulonimbus
Hi,
If you requires
for some SSO profiles andDOMAIN\USERNAME
for other SSO profiles, you can use this:USERNAMEsession.sso.token.last.ntusername = expr { "DOMAIN\\[mcget {session.ad.last.attr.sAMAccountName}]" }then, in your SSO profile requiring
, useDOMAIN\USERNAME
instead ofsession.sso.token.last.ntusernamesession.sso.token.last.username
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
