msgraph-sdk-python
msgraph-sdk-python copied to clipboard
Investigate and fix Device code credential flow
Current Behavior Working with device code credetial flow throws an error at getting the token. Follow this tutorial Working device code credential flow, the script takes over 20 minutes and fails with token has expired error, or fails at there is no token to replace in the URLReplaceHandler
Solution Working with device code flow, enable delegated authentication and be able to run .me paths and get responses
alternatives considered
Delegated permission works with InteractiveBrowser flow.
https://learn.microsoft.com/en-us/graph/tutorials/python?tabs=aad&tutorial-step=3
Giving