Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tenants not displaying in tenant list if they have "&" in name #237

Closed
Slogue242 opened this issue Jun 17, 2024 · 2 comments
Closed

Tenants not displaying in tenant list if they have "&" in name #237

Slogue242 opened this issue Jun 17, 2024 · 2 comments

Comments

@Slogue242
Copy link

If a tenant display name has "&" it will not display in the drop-down list of tenants, you have access to.

This has been resolved by editing the MSALAuthentication.psm1 file by adding the following:

if ($tenant.DisplayName -like "&"){
$tenant.DisplayName = $tenant.DisplayName.replace('&',"and")
}

image

@Micke-K
Copy link
Owner

Micke-K commented Jun 18, 2024

Hello,

Thank you for this! I'll include this in the next release. I found another place with the same issue.

Cheers!

@Micke-K
Copy link
Owner

Micke-K commented Aug 22, 2024

Closing this since fix is released. Please reopen if it is still an issue.

Cheers!

@Micke-K Micke-K closed this as completed Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants