Forum Discussion
Azure AD connect with existing O365 user accounts
Sorry for the late reply. My local AD is a .local, so I added company.com UPN to my AD. My O365 is company.onmicrosoft.com, so I added company.com to the domain, but as soon as I added it, the user's Outlook stopped working and it kept asking for their password, even though I had company.onmicrosoft.com as the default.
But when I removed the company.com domain from O365 admin center, the user's emails returned back to normal and working. I'm not sure what caused it.
When I added company.com to O365 originally, it asked me to add some TXT records to my DNS and I did. It kept saying that my company.com domain was already associated with another O365 account, which my collogue created for testing, so I removed company.com from the O365 account my collogue created so I could add it to the 'live' O365 account.
Hi tantonyrei,
The TXT record is only for the domain verification in O365, but that doesn't mean that the domain will work with mailflow.
You'll need to modify the MX, CNAME, etc... Records at the NS.
Once you add the domain, ( after the TXT record ), you'll see a screen with all the required records for email and other services.
- tantonyreiMar 24, 2023Copper ContributorHi FcoManigrasso, thanks for the reply.
Correct, I understand TXT record is only for the initial domain verification and once the domain is verified, we can remove the TXT record from DNS.
Yes, I saw the screen after adding domain to modify the MX, CNAME etc, but I wasn't sure what to select there, so I selected 'skip this option', could that be what caused the whole issue? Sorry I'm new to O365, so I don't understand what does that have to do with user's Outlook prompting for passwords. Our exchange server is on premise 2013.- FcoManigrassoMar 24, 2023Iron Contributor
Oh sorry, tantonyrei!
My reply was based for a 100% cloud environment. My bad.
Did you already setup the exchange hybrid? Which kind?
If your domain is already working with the onprem environment and you setup the hybrid configuration correctly, should work perfectly.
Let me share with you some articles:
https://learn.microsoft.com/en-us/exchange/hybrid-deployment/deploy-hybrid
https://learn.microsoft.com/en-us/outlook/troubleshoot/authentication/outlook-prompt-password-modern-authentication-enabled
And here you can test the connectivity in order to see if something is wrong:
https://testconnectivity.microsoft.com
- tantonyreiMar 24, 2023Copper ContributorI need to look into exchange hybrid then. Because I have my on premise Exchange server 2013, plus we have the owa.ridgeeng.com so users can access their emails outside of company network.