Microsoft Graph API - Unable to register workforceIntegration using rest call

amrit nigam 1 Reputation point
2020-02-26T03:26:55.24+00:00

I have already given these permissions -
WorkforceIntegration.ReadWrite.All
WorkforceIntegration.Read.All

Still when I make this rest call
https://graph.microsoft.com/beta/teamwork/workforceIntegration

I am getting "Sorry, this feature is not enabled for your team" as error message.

Status code - 403 forbidden

Can anyone help me resolve this issue.

Thanks,
Amrit

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,389 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sharon Zhao-MSFT 25,076 Reputation points Microsoft Vendor
    2020-02-26T05:44:24.117+00:00

    Hi Amrit,
    I’m not familiar with development. However, I found a similar error scenario for your reference. The link is: https://stackoverflow.com/questions/51845317/microsoft-graph-return-access-token-is-empty. In this link, someone told that "Access token is empty" probably means not present or no authorization header in request. Perhaps, you can get some useful information from this comment.

    0 comments No comments