SOLVED

Office 365 Usercredentials are cached

Iron Contributor

We migrated our data from one tenant to another and a lot of the local user profiles still caches the old tenant data. We found that out because they had a lot of problems with the Teams client in connection with Outlook. Sent out Teams meeting invitations but weren't able to join the meetings...

And we also figured out that if we are using this command:

dsregcmd /status


and the "Work Account 1" is still using the old Tenant (Tenant name, Tenant ID).
So the user has to disconnect here manually.

2020-04-30 15_41_54-Settings.png

 

But is there a way  to do it via Powershell? Or is there any other way to do it remotely for all users?

 

Thanks in advance

1 Reply
best response confirmed by Thomsch (Iron Contributor)
Solution
You can only remove from the client device using the GUI.
"Deleting devices in your on-premises AD or Azure AD does not remove registration on the client. It will only prevent access to resources using device as an identity (e.g. Conditional Access). Read additional information on how to remove registration on the client."
Reference: https://docs.microsoft.com/en-us/azure/active-directory/devices/manage-stale-devices

See also: https://docs.microsoft.com/en-us/azure/active-directory/devices/faq#q-how-do-i-unjoin-an-azure-ad-jo...
1 best response

Accepted Solutions
best response confirmed by Thomsch (Iron Contributor)
Solution
You can only remove from the client device using the GUI.
"Deleting devices in your on-premises AD or Azure AD does not remove registration on the client. It will only prevent access to resources using device as an identity (e.g. Conditional Access). Read additional information on how to remove registration on the client."
Reference: https://docs.microsoft.com/en-us/azure/active-directory/devices/manage-stale-devices

See also: https://docs.microsoft.com/en-us/azure/active-directory/devices/faq#q-how-do-i-unjoin-an-azure-ad-jo...

View solution in original post