In USD, we can set the Maximum Number of Sessions by using maxNumberOfSessions. To do this, go to the USD App and click on Options. Create an option called maxNumberOfSessions. Let’s set ours to 1:

Once configured, USD will prevent users from starting new sessions when the maximum is reached. For example, if we have 1 session already running and the maximum is 1, when trying to start a second session, we get the message “The maximum session count was exceeded. Close an existing session and try again”:



Keep learning. Keep building.
Explore AI, agents & Microsoft technology.
I share practical ideas, tutorials, and videos about AI, AI agents, Microsoft technologies, and the Power Platform.
Subscribe on YouTube →Carl de Souza Enterprise Architect at Microsoft · AI Technology Expert