using ms graph api with python code example Example: microsoft graph python rest api url = client.authorization_url(redirect_uri, scope, state=None)