Update Group proxyAddress from Graph API

Update Group proxyAddress from Graph API
0

Upvotes

Upvote

 Jan 17 2022
0 Comments 
New

Whenever I modify proxyAddress property of a Office 365 Group from Graph API, I receive the following error,

{
   "error": {
       "code": "Authorization_RequestDenied",
       "message": "The requesting application is not authorized to set group proxy addresses.",
       "innerError": {
           "date": "2022-01-17T12:01:39",
           "request-id": "328be4b4-eb20-483e-adf7-bb02dfae3be2",
           "client-request-id": "cabb604f-b315-be14-9ba0-9b0571ba7b1b"
       }
   }
}

If I PATCH without modifying the proxyAddress property at all, then I don't get this error, but whenever I modify the payload for proxyAddress at all, I get this error.

 

Example, PATCH:

{
    "proxyAddresses": [
        "SPO:SPO_269b2269-296d-43f4-b67e-88b6f32a7fcd@SPO_af6dd7da-54b5-411e-bab8-0b31f96e9e42",
        "smtp:Email address removed",
        "SMTP:Email address removed",
        "smtp:Email address removed",
        "smtp:Email address removed"
    ]
}

I can change other properties and I can successfully set proxyAddress when I create the group, but updates always fail with error. Also, I've tried updating the mailNickname property and this has no effect. I can also update this value from the Office 365 Admin UI by modifying the email (primary / alias) and accomplish exactly what I'm after.

 

The requested feature/idea is to allow callers to update proxyAddress property of a Group like you can do from PowerShell and the Admin UI.