The following forum(s) are migrating to a new home on Microsoft Q&A (Preview): Azure Active Directory!

Ask new questions on Microsoft Q&A (Preview).
Interact with existing posts until December 13, 2019, after which content will be closed to all new and existing posts.

Learn More

 none
Azure Active Directory Domain Services: Portal Created Accounts sync different than GraphAPI Created Ones RRS feed

  • Question

  • Hi @All

    We created a nice looking registration Page to allow specific users to create an account in our Azure AD which has DS enabled. The registration Page is an trusted "App" in the AAD and creates users by using the Azure Graph Libraries as described here http://justazure.com/azure-active-directory-part-5-graph-api/.

    When it comes to account creation, everything works fine, expect one neat detail. Accounts created via the Azure Management Portal own the attribute "userName" which gets populated to the AAD DS, where as accounts created via the Graph API don't have such an attribute.

    See the POST request to the Azure Management Portal when creating a new user, not sure if this only UI, but probably this is additional information which is user for defining the username in DS.

    Compared with users create by the Graph API, the attributes synced to the AAD DS are significantly different.

    Max Muster was create by using the Portal (like one one above) where Michael Schnyder was created by the Graph API.

    What i found is different

    - CN
    - distinguishedName
    - name
    - sAMAccountName

    Question: How can the Graph API be called to that the AAD DS behaves the same as for users create in the Management Portal?

    BTW: This editor is a too small. buggy just a shame for such a modern and forward looking company. Please update / migrate asap... How do you appreciate customer feedback when this channel is almost unusable?

    Sunday, February 7, 2016 1:08 PM

All replies