msgraph-sdk-python icon indicating copy to clipboard operation
msgraph-sdk-python copied to clipboard

Investigate and fix Device code credential flow

Open shemogumbe opened this issue 11 months ago • 0 comments

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 my_profile_and_messages

shemogumbe avatar Mar 14 '24 08:03 shemogumbe