You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gallatin: Parsing OData Select and Expand failed: Could not find a property named 'singleValueExtendedProperties' on type 'microsoft.graph.message'
#2578
Closed
KaichengHuang opened this issue
Jul 10, 2024
· 4 comments
response:
{
"error": {
"code": "BadRequest",
"message": "Parsing OData Select and Expand failed: Could not find a property named 'singleValueExtendedProperties' on type 'microsoft.graph.message'.",
"innerError": {
"date": "2024-07-10T09:16:05",
"request-id": "e96fe6f2-1d55-47d4-a326-24c1ae585438",
"client-request-id": "e96fe6f2-1d55-47d4-a326-24c1ae585438"
}
}
}
body:
{
"singleValueExtendedProperties": [
{
"id": "String {cf7f4a25-a4ec-4d56-99cd-74c698a57ddc} Name LatestRecallTime",
"value": "03:16:57.228 AM 9/18/2023"
}
]
}
response:
{
"error": {
"code": "RequestBodyRead",
"message": "The property 'singleValueExtendedProperties' does not exist on type 'Microsoft.OutlookServices.Message'. Make sure to only use property names that are defined by the type or mark the type as open type.",
"innerError": {
"date": "2024-07-10T09:18:00",
"request-id": "608917d1-2038-414a-99c6-0e334906f991",
"client-request-id": "608917d1-2038-414a-99c6-0e334906f991"
}
}
}
Expected behavior
I test this in Dod which is US Government L5, it works for both get and create operation.
So, it is Gallatin environment issue.
Get:
Patch:
Get the patch value:
How to reproduce
Just use postman with correct user token.
SDK Version
No response
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_
The text was updated successfully, but these errors were encountered:
As this repo is mainly intended for SDK related issues, we may not be best placed to handle issues with regards to the API side functionality.
Any chance you can post a question at https://aka.ms/askGraph to confirm if this is expected? Otherwise, you can also provide feedback at https://aka.ms/graphFeedback for the relevant API owners to look into this.
Describe the bug
Based on https://learn.microsoft.com/en-us/graph/api/singlevaluelegacyextendedproperty-post-singlevalueextendedproperties?view=graph-rest-1.0&tabs=http and https://learn.microsoft.com/en-us/graph/api/singlevaluelegacyextendedproperty-get?view=graph-rest-1.0&tabs=http, create and get singleValueExtendedProperties is supported in Gallatin which is "China operated by 21Vianet". But I test it in following way, it hits error.
Get:
https://microsoftgraph.chinacloudapi.cn/v1.0/me/mailfolders/sentitems/messages/AAMkADZiNDY2NDgzLWEyNjctNDc0Mi04Y2UzLWRmYWU5ZTlkNzczMwBGAAAAAAAsuDXm95qTQaO8H_G1D9NnBwCRMYEyJn9sS7hvpWi4TRRTAAAAAAEJAACRMYEyJn9sS7hvpWi4TRRTAACjl5j6AAA=?$select=internetMessageId,subject,from,sender,toRecipients,ccRecipients,bccRecipients,sentDateTime,id&$expand=singleValueExtendedProperties($filter=Id eq 'string 0x4038')
response:
{
"error": {
"code": "BadRequest",
"message": "Parsing OData Select and Expand failed: Could not find a property named 'singleValueExtendedProperties' on type 'microsoft.graph.message'.",
"innerError": {
"date": "2024-07-10T09:16:05",
"request-id": "e96fe6f2-1d55-47d4-a326-24c1ae585438",
"client-request-id": "e96fe6f2-1d55-47d4-a326-24c1ae585438"
}
}
}
patch:
https://microsoftgraph.chinacloudapi.cn/v1.0/me/mailfolders/sentitems/messages/AAMkADZiNDY2NDgzLWEyNjctNDc0Mi04Y2UzLWRmYWU5ZTlkNzczMwBGAAAAAAAsuDXm95qTQaO8H_G1D9NnBwCRMYEyJn9sS7hvpWi4TRRTAAAAAAEJAACRMYEyJn9sS7hvpWi4TRRTAACjl5j6AAA=
body:
{
"singleValueExtendedProperties": [
{
"id": "String {cf7f4a25-a4ec-4d56-99cd-74c698a57ddc} Name LatestRecallTime",
"value": "03:16:57.228 AM 9/18/2023"
}
]
}
response:
{
"error": {
"code": "RequestBodyRead",
"message": "The property 'singleValueExtendedProperties' does not exist on type 'Microsoft.OutlookServices.Message'. Make sure to only use property names that are defined by the type or mark the type as open type.",
"innerError": {
"date": "2024-07-10T09:18:00",
"request-id": "608917d1-2038-414a-99c6-0e334906f991",
"client-request-id": "608917d1-2038-414a-99c6-0e334906f991"
}
}
}
Expected behavior
I test this in Dod which is US Government L5, it works for both get and create operation.
So, it is Gallatin environment issue.
Get:
Patch:
Get the patch value:
How to reproduce
Just use postman with correct user token.
SDK Version
No response
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: