If you get this error in PowerShell when attempting to do something in Azure:
Azure PowerShell ForbiddenError: The server failed to authenticate the request. Verify the certificate is valid and is associated with this subscription.
Then simply run:
Now try again. There’s no need to close or reopen the PowerShell window.