Forum Discussion
iambernd
Dec 03, 2020Copper Contributor
Allow Users to Change their Display name (First - Last name)
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 a...
- Dec 07, 2020
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
StevenC365
Dec 03, 2020MVP
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.
Don_DeCarlo
Dec 03, 2020Copper Contributor
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
- iamberndDec 04, 2020Copper Contributor
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?
- Don_DeCarloDec 07, 2020Copper Contributor
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
- AndyDeeJul 03, 2021Copper Contributor
Hi Don,
What permission is need to modify the display name in Microsoft Graph?
I'm about to try them one by one, but it looks like you may already know the answer.
Thanks,
Andy
- Don_DeCarloDec 04, 2020Copper Contributor
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.