-
Notifications
You must be signed in to change notification settings - Fork 263
Closed
Labels
status:waiting-for-triageAn issue that is yet to be reviewed or assignedAn issue that is yet to be reviewed or assignedtype:bugA broken experienceA broken experience
Description
I'm trying to add a new SingleValueExtendedProperties to a message:
var requestBody = new Message
{
SingleValueExtendedProperties = new List<SingleValueLegacyExtendedProperty>
{
new SingleValueLegacyExtendedProperty
{
Id = "String {66f5a359-4659-4830-9070-00047ec6ac6e} Name Color",
Value = "Green",
},
},
};
var result = await _graphClient.Users[messageInfos.MailBoxId]
.Messages[messageInfos.MessageId]
.PatchAsync(requestBody);
In the result after the patch, the property is still null:
This is not a permission problem, because the permission is set to Mail.ReadWrite. Change the subject or move message is working.
Expected behavior
The SingleValueExtendedProperties is not null after the PatchAsync request.
How to reproduce
var requestBody = new Message
{
SingleValueExtendedProperties = new List<SingleValueLegacyExtendedProperty>
{
new SingleValueLegacyExtendedProperty
{
Id = "String {66f5a359-4659-4830-9070-00047ec6ac6e} Name Color",
Value = "Green",
},
},
};
var result = await _graphClient.Users[messageInfos.MailBoxId]
.Messages[messageInfos.MessageId]
.PatchAsync(requestBody);
SDK Version
5.77.0
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_
Metadata
Metadata
Assignees
Labels
status:waiting-for-triageAn issue that is yet to be reviewed or assignedAn issue that is yet to be reviewed or assignedtype:bugA broken experienceA broken experience
