question

amritnigam-6570 avatar image
0 Votes"
amritnigam-6570 asked SharonZhao-MSFT answered

Microsoft Graph API - Unable to register workforceIntegration using rest call

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

office-teams-windows-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SharonZhao-MSFT avatar image
0 Votes"
SharonZhao-MSFT answered

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.