Load Testing for Azure Virtual Desktop (AVD) Using PowerShell

Azim 26 Reputation points
2024-12-20T07:58:35.2666667+00:00

Hi,

I've created a PowerShell script sourced from the web to perform load testing (also known as synthetic testing) by simulating multiple users accessing servers in Azure Virtual Desktop (AVD).

However, I've encountered a blocker while generating an access token from the Azure portal through the script. I've set up the app registration, assigned API permissions (Microsoft Graph - read.all for both Delegated and Application), and retrieved the secret value.

I'm receiving the following error:

The resource principal named https://rdweb.wvd.microsoft.com was not found in the tenant named ABC COMPANY. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant.

Any guidance on resolving this issue would be appreciated!

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,624 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,706 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.