IntuneManagement icon indicating copy to clipboard operation
IntuneManagement copied to clipboard

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

Open Slogue242 opened this issue 1 year ago • 1 comments
trafficstars

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

Slogue242 avatar Jun 17 '24 20:06 Slogue242

Hello,

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

Cheers!

Micke-K avatar Jun 18 '24 13:06 Micke-K

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

Cheers!

Micke-K avatar Aug 22 '24 12:08 Micke-K