Powershell script / Azure virtual desktop remoteapp

Job ID: 34593532

Budget: $10 – $30 CAD

Looking for someone to assist me to solve the following.

Azure virtual desktop remoteapp onedrive app deployed as a remoteapp does not end session when closed.

Looking for script that can detect and end session or any other ssolution