kchaluvadi
Contributor

Get account name in domain\username format in Nintex Workflow for O365

Hi, we recently migrated from SP13 to SharePoint online. On SharePoint 13, we have a request form where user submit request to access to an application and that application accepts login name in domain\loginname format.

SharePoint 13/Nintex for SP13 easily provides the user account in "domain\loginname" format. After migrating to SharePoint Online, User Profile stores the account name in email format but not in domain\loginname format. I can ask user to provide their account name in "domain\loginname" format in the request or I can use Flow to get the "Nickname" property, wondering if there is a way with Nintex for Office 365? I also tried querying user profile using REST API, but no luck as it always stores in email format.

 


 

0 Kudos
Reply
1 Reply
nico
Explorer

Re: Get account name in domain\username format in Nintex Workflow for O365

You have change of plateforme (SharePoint 2013 => SharePoint Online), and change your active directory (AD onPremise => Azure AD).

This kind of logon (Domain\login) doen't exist in O365. That why you can't retrive you Domain\Login

 

The only whay to achive this is : To Add a custom attribut on your Azure AD to store the Domain\login of your user in this custom attribut, and configure a new user properties in your user profile service. After that you will be able to make a query on the user profile to get your custom attribut (and so retrive your domain\login).

 

 

0 Kudos
Reply