question

AndersStenman-4588 avatar image
0 Votes"
AndersStenman-4588 asked ·

Posting to the endpoint https://graph.microsoft.com/beta/accessReviews gives HTTP error 500

I can read data from the endpoint, but when I try to post data (in order to create an access review) I always get HTTP error 500 (Internal Server Error).

Is this operation working?

Example of payload:

 {
     "displayName": "ORG_SuperDuper X",
     "startDateTime": "2021-03-04T15:46:25+01:00",
     "endDateTime": "9999-12-31T23:59:59+00:00",
     "reviewedEntity": {
         "id": "30552695-062d-4eed-aebb-a21df20414ad"
     },
     "reviewerType": "delegated",
     "businessFlowTemplateId": "6e4f3d20-c5c3-407f-9695-8460952bcc68",
     "description": "Access Review of ORG_SuperDuper X",
     "reviewers": [
         {
             "id": "137be449-6504-46d5-8556-85c31938eef6"
         }
     ],
     "settings": {
         "remindersEnabled": true,
         "mailNotificationsEnabled": true,
         "justificationRequiredOnApproval": false,
         "recurrenceSettings": {
             "recurrenceType": "halfyearly",
             "recurrenceEndType": "never",
             "recurrenceCount": 0
         },
         "autoApplyReviewResultsEnabled": false
     }
 }



microsoft-graph-sdkmicrosoft-graph-identity
· 1
10 |1000 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.

Adding right tags/teams to assist.

Just to isolate the issue, outside of your code try repro the issue with Graph explorer, still can you repro the issue as well?

0 Votes 0 ·

0 Answers