Hi ,
Thanks for reaching out to Microsoft Q&A.
Token authorization issue. Can you ensure that the OAuth2 token you’re using is correctly issued and valid. Also did you validated the token using postman? what error did you get from there?
Please 'Upvote'(Thumbs-up) and 'Accept' as an answer if the reply was helpful. This will benefit other community members who face the same issue.