Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Fix routine to find AD domain name #72

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jbpaux
Copy link

@jbpaux jbpaux commented Nov 3, 2021

When user login is @live.com @hotmail.com the domain used in these commands were using these logins.
Instead it should use the @accountlive.onmicrosoft.com or @accounthotmail.onmicrosoft.com
The change here find the correct domain name using the user UPN retrieved directly in Azure AD which is something like "account_live.com#EXT#@accountlive.onmicrosoft.com"

When user login is @live.com @hotmail.com the domain used in these commands were using these logins.
Instead it should use the @accountlive.onmicrosoft.com or @accounthotmail.onmicrosoft.com
The change here find the correct domain name using the user UPN retrieved directly in Azure AD which is something like "account_live.com#EXT#@accountlive.onmicrosoft.com"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant