Forum Discussion
manohara1425
Jul 11, 2023Copper Contributor
Issue with API of Microsoft 365 Defender for Endpoint
Hello team, i tried to access the APIs of Microsoft Defender for Endpoint, but unable to access the APIs, everytime it throws Unautorized status code. I have used application context OAuth Bearer t...
jplamarre
Jul 25, 2023Copper Contributor
Did you check with jwt.io if your token has roles in it ? You need a resource parameter in the body with the endpoint URI to make it work. Without the roles in the token response, you are not authorized to access resources. Does that make sense ?