Azure / avdaccelerator

AVD Accelerator deployment automation to simplify the setup of AVD (Azure Virtual Desktop) based on best practices
MIT License
305 stars 198 forks source link

BROKEN - Session Host Config Host Pool Registration Token #624

Closed chbragg closed 17 hours ago

chbragg commented 2 weeks ago

What happened? Provide a clear and concise description of the bug, including deployment details.

I believe there was a recent software update to Azure that broke the Host Pool Registration Token call. The error message shown during the session host configuration is: SH-Config-0-2-20240625T135515Z' at line '1' and column '186428'. 'The language expression property 'token' can't be evaluated.' (Code: InvalidTemplate).

This might be related to this: https://github.com/Azure/bicep-types-az/issues/2023

Inside the github issue, there are other potential options for calling the token

Please provide the correlation id associated with your error or bug.

xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

What was the expected outcome?

The session host would be joined to the Host Pool using the registration token

Relevant log output

No response

cvondeylen commented 2 weeks ago

We are also experiencing this issue. Was working fine yesterday using the bicep code reference(hostPoolId, '2021-01-14-preview').registrationInfo.token

danycontre commented 2 weeks ago

Thanks for reporting the issue, we are working on it.

@moisesjgomez @swathibhat1

danycontre commented 1 week ago

Deployment is working again.

Current API in use is being updated, so the current code will not work, therefore we are updating the code to fetch the registration token in a different way.

danycontre commented 17 hours ago

Fixed with PR #623