question

Jim1977Idaho-1780 avatar image
0 Votes"
Jim1977Idaho-1780 asked KaelYao-MSFT commented

Present Active Directory email address to Teams and Onedrive

Is it possible to have OneDrive and Teams when first opened per AD user account to select the users email address in Active directory as its account by GPO or other method?

office-teams-windows-itprooffice-onedrive-client-itpro
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Jim1977Idaho-1780

Did you mean you would like to auto-populate the active directory account when users first open Teams or Onedrive?
Or auto-populate the E-mail address attributes of the accounts?

If it is the former scenario, Microsoft Teams should auto-populate the domain-joined account once the device is domain-joined and the user logged in as a domain users.
Example (currently logging in as user01 in domain1.com):
202117-13.png


0 Votes 0 ·
13.png (72.5 KiB)

The domain email accounts do not match the domain in this case. It's similar to the following:

Active Directory Domain is Company.local

Email address is use@ CompanyIndustry.com

Would we need to set up AzureAD sync to get this to work in this case.

0 Votes 0 ·

1 Answer

KaelYao-MSFT avatar image
0 Votes"
KaelYao-MSFT answered KaelYao-MSFT commented

Hi @Jim1977Idaho-1780

Thanks for the clarification.

While to my knowledge, there doesn't seem to be an easy way to archive this.

If using Azure AD Connect, it may also be required for the users to login domain computers with the credentials (@CompanyIndustry.com) instead of the current (@Company.local) , in order to have Teams auto-populated with the @CompanyIndustry.com account.

Otherwise if possible I suppose simply adding UPN suffix would also work, if the local UPN is configured to match the email address of Office 365.
Let's say currently you are using user01@company.local to login domain computers and his online email address is user01@CompanyIndustry.com.
Then you can add CompanyIndustry.com as UPN suffix and have the user login with user01@CompanyIndustry.com instead of user01@company.local.
It would have the account user01@CompanyIndustry.com auto-populated in Teams.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Jim1977Idaho-1780

Just checking in to see if above information was helpful. Please let us know if you would like further assistance.

0 Votes 0 ·

I have the opertunity to build a new domain in this project.

If we selected an internal domain of internal.companyindustry.com for example, would that allow passing email address of companyindustry.com without using Azure AD connect, or would we need use AD Connect and a matching UPN?

0 Votes 0 ·
KaelYao-MSFT avatar image KaelYao-MSFT Jim1977Idaho-1780 ·

If we selected an internal domain of internal.companyindustry.com for example, would that allow passing email address of companyindustry.com without using Azure AD connect, or would we need use AD Connect and a matching UPN?

To me the internal domain should also be exactly companyindustry.com to have Teams auto-populate with the email address <user logon account in on-premises AD>@conpanyindutry.com.
As mentioned above, Azure AD connect is not necessary but if using other methods like UPN suffix, it may be required that the UPN to login local AD matches the UPN to login Office 365.

0 Votes 0 ·