[BUG] Link output from bootstrap does not work if user has access to multiple tenants
Closed this issue · 1 comments
SimonWahlin commented
Describe the bug
When the script New-SovereignLandingZone.ps1 is complete, a link to the portal is written to the output. If the deploying user has access to more than one tenant the code (Get-Tenant).Id
returns multiple tenant ids which would be joined with space.
To Reproduce
Steps to reproduce the behavior:
- Use an account with access to more than one tenant.
- Run
./New-SovereignLandingZone.ps1 -parDeployment bootstrap
- The link outputted will not be clickable since it contains spaces that are not url encoded.
Expected behavior
The link should be clickable in the terminal
ugreg commented
@SimonWahlin this issue has been resolved. Please validate against this latest code from main branch.