User keep receiving the message to force logoff
- Dominant language
- PowerShell
- Stars
- 524
- Forks
- 610
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I noticed that our customers avd deployment has such script in use. and keep receiving following information which may come from this: Send-RdsUserSessionMessage -TenantName "$TenantName" -HostPoolName "$HostPoolName" -SessionHostName "$SessionHostName" -SessionId $SessionId -MessageTitle $messageTitle -MessageBody $userNotificationMessege -NoUserPrompt
Write-Log -Message "Sent a user session message to $UserPrincipalName and sessionid was $SessionId"

just would like to know why this script has been triggered?? how we can stop this message?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by searching the RDS-Templates deployment scripts for Send-RdsUserSessionMessage and the surrounding Write-Log call. Trace what invokes that command and document which deployment condition produces the force-logoff message; done means identifying the trigger and a supported way to stop it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100