Can an MS Graph Bearer Token be used to access the Office REST API?

后端 未结 2 1116
醉酒成梦
醉酒成梦 2021-01-14 23:14

We\'ve implemented Authentication in a .Net Core 2.0 app using Microsoft Graph to authenticate against Azure AD.

That works fine and we were aiming to use Microsoft

2条回答
  •  情书的邮戳
    2021-01-14 23:53

    Just want to share how you can exchange Graph RefreshToken to a Outlook AccessToken using postman. (You can do this in whatever code language you wish)

    First lets show how you use a RefreshToken to get a new Graph AccessToken:

    Then use the Graph RefreshToken to get the new Outlook AccessToken:

    Hope this might help some other people :)

提交回复
热议问题