Permission error on calendar/events with msGraphClient

Copper Contributor

I am developing a web part and would like to retrieve the calendar of my meetings room. Here is the response error:

{
"error": {
"code": "ErrorAccessDenied",
"message": "Access is denied. Check credentials and try again."
}
}

The request with MsGraphClientV3 :

macenteno_0-1701875413607.png

 

Web Part Permission : 

 

macenteno_1-1701875624215.png

In azure AD

macenteno_2-1701875658739.png

 

The request work with PostMan with a token generated by myself but not with MsGraphClientV3.

 

0 Replies