permissions are not applied to microsoft graph api

Copper Contributor

Hello,

 

I tried to configure a background job to fetch email from exchange online. I configured the permissions in the azure portal and granted access. Is there any step I've missed?

Azure portal:

StevenHooi_1-1647289321437.png

 

 

roles in bearer token:

StevenHooi_0-1647289020557.png

postman request:

StevenHooi_3-1647289456215.png

 

Postman response:

StevenHooi_2-1647289375763.png

 

Does anyone know how to solve this issue?

 

 

2 Replies
Make sure you obtain a fresh token after granting consent to the permissions above.
The token that I’m using is about 1 second old.