SOLVED

Allow Users to Change their Display name (First - Last name)

%3CLINGO-SUB%20id%3D%22lingo-sub-1952633%22%20slang%3D%22en-US%22%3EAllow%20Users%20to%20Change%20their%20Display%20name%20(First%20-%20Last%20name)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1952633%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20find%20a%20reason%20why%20our%20users%20can't%20change%20their%20display%20name.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20Exchange%20policy%20is%20activated%20and%20the%20default%20role%20assignment%20policy%20points%20out%20that%20they%20are%20infact%20allowed%20to%20change%20the%20names.%20But%20going%20on%20Delve%20nor%20on%20account%20setting%20I%20can%20change%20the%20display%20name.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22Some%20details%20may%20be%20provided%20by%20the%20IT%20....%20%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20you%20know%2C%20I%20am%20the%20IT%20%3B))%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20something%20I%20need%20to%20check%20on%20AAD%20level%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20need%20to%20have%20people%20on%20MS%20Teams%20be%20able%20to%20change%20their%20Display%20name%20flexible.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3Eb.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1952633%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EHow-to%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1953911%22%20slang%3D%22en-US%22%3ERe%3A%20Allow%20Users%20to%20Change%20their%20Display%20name%20(First%20-%20Last%20name)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1953911%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F889915%22%20target%3D%22_blank%22%3E%40iambernd%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20a%20good%20idea.%26nbsp%3B%20There%20is%20no%20built%20in%20way%20in%20Teams%20to%20do%20that.%26nbsp%3B%20As%20you%20said%20you%20can%20change%20it%20in%20Delve%20or%20account%20settings.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20could%20write%20some%20code%20that%20does%20it%20through%20Microsoft%20Graph%20and%20include%20it%20in%20a%20Teams%20App.%26nbsp%3B%20Something%20easy%20like%20that.%26nbsp%3B%20Is%20that%20what%20you%20are%20looking%20for%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3EDon%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1954380%22%20slang%3D%22en-US%22%3ERe%3A%20Allow%20Users%20to%20Change%20their%20Display%20name%20(First%20-%20Last%20name)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1954380%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F889915%22%20target%3D%22_blank%22%3E%40iambernd%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhere%20do%20these%20accounts%20come%20from%3F%20If%20they%20are%20being%20synchronised%20by%20AzureAD%20Connect%20then%20the%20displayname%20could%20only%20be%20changed%20in%20the%20local%20AD.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1954479%22%20slang%3D%22en-US%22%3ERe%3A%20Allow%20Users%20to%20Change%20their%20Display%20name%20(First%20-%20Last%20name)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1954479%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F178440%22%20target%3D%22_blank%22%3E%40Steven%20Collier%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20you%20use%20AD%20Sync%20to%20keep%20Azure%20AD%20in%20sync%20with%20Local%20AD%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20not%20you%20can%20use%20Microsoft%20On-premise%20Data%20Gateway%20to%20allow%20an%20application%20to%20update%20data%20in%20On-premise%20AD%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi All. 

 

I am trying to find a reason why our users can't change their display name. 

 

The Exchange policy is activated and the default role assignment policy points out that they are infact allowed to change the names. But going on Delve nor on account setting I can change the display name.

 

"Some details may be provided by the IT .... "

 

But you know, I am the IT ;)) 

 

Is there something I need to check on AAD level? 

 

We need to have people on MS Teams be able to change their Display name flexible. 

 

Thanks

b.

11 Replies

@iambernd 

 

This is a good idea.  There is no built in way in Teams to do that.  As you said you can change it in Delve or account settings.

 

I could write some code that does it through Microsoft Graph and include it in a Teams App.  Something easy like that.  Is that what you are looking for?

 

Thanks

Don

@iambernd 

 

Where do these accounts come from? If they are being synchronised by AzureAD Connect then the displayname could only be changed in the local AD.

@Steven Collier 

Do you use AD Sync to keep Azure AD in sync with Local AD?

 

If not you can use Microsoft On-premise Data Gateway to allow an application to update data in On-premise AD

@Steven Collier Yes, they have been created on the AAD.

Does this mean, if I create users through the Microsoft / Office 365 admin, that they would be able to change their names? 

 

Is this possible? 

@Don_DeCarlo 


How would one do that?

I do not synch yet from any local AD. Our AAD is the main one currently, might not change for a while. Would it be possible to enable users changing their display name with Microsoft On-premise Data Gateway?

If yes, any source of howto?

@iambernd 

 

It's another good question.  I will set up a test to see if I can use the On-Premise data gateway and hit it using the Microsoft Graph API.

 

Will let you know the results next week.

@Steven Collier 

 

Hi Steve

 

I am going to test this for @iambernd this weekend to prove it out.  I think I can use the Microsoft Graph API to change the display name.

 

I will let you know next week.

Thanks

Don

best response confirmed by ThereseSolimeno (Microsoft)
Solution

@iambernd

 

I was able to set up the test of changing the user display name using Microsoft Graph API.  I can authenticate to Azure AD or On-Premise AD using the current user context.  Won't need the On-Premise data gateway after all since Graph allows you to authenticate to both.

 

The next step would be to create a simple app in teams that allows the user to update their display name in teams then pass that update using graph.

 

Let me know if you are familiar with using these resources (Graph API and Teams Apps) or need some more help setting this up on your end.

 

Thanks

Don

 

@Steven Collier 

 

Steve do you agree this answer make sense?

 

Since he is using local AD and not Sync he can use Microsoft Graph API to update the Display name in Local AD and then tie that back to Teams through through a simple teams app?

 

I tested the authentication this weekend using Graph.

This sounds good.

Also, I like the idea of a simple app in Teams.

Would be interested to hear how to do it (we are not really familiar with teams apps, had some students and interns playing around with it though.)

Any suggestion to a doc or howto would be appreciated, also let me know how I can test this out ourselfs including setting up / developing a simple app for Teams).

Thanks a lot.

@iambernd 

 

A great way to get started with the Teams apps is App Studio

 

https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/app-studio-overview

 

That is where I tested your question to keep it simple