If the url is opened using the proper profile, I will already be logged in
Powershell script using the az cli to remove and add my local IP to the allowed RDP rules for a VM.
Excerpt for Twitter