Azure / Azure/azure-rest-api-specs
[Intune] Intune arm api throws Exception
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
Api call to this
`https://management.azure.com/subscriptions//providers/Microsoft.Intune/locations?api-version=2015-01-14-preview`
returns :
```
{
"value": [
{
"id": "/providers/Microsoft.Intune/locations/hostName",
"type": "Microsoft.Intune/locations",
"name": "hostname",
"properties": {
"hostName": "fef.msua01"
}
}
]
}
```
but when i make a call
`https://management.azure.com/subscriptions//providers/Microsoft.Intune/locations/fef.msua01/apps?api-version=2015-01-14-preview`
i get:
```
{
"error": {
"code": "BadRequest",
"message": "An error has occurred - Operation ID (for customer support): 5e2b8923-b702-4025-9b1d-b691c83c4937 - Activity ID: 54ed6b2f-338a-45ba-a682-7975ac51ebc2 - Url: https://fef.msua01.manage.microsoft.com/AdminExperienceService/locations('fef.msua01')/apps - CustomApiErrorPhrase:\r\n__BEGINCMEXCEPTIONMETADATA__\r\n{\r\n \"CustomApiErrorPhrase\": \"\"\r\n}"
}
}
```
Contributor guide
Research direction
Start by reproducing the Microsoft.Intune locations and locations/{hostName}/apps requests shown in the issue and compare the returned error with the documented API behavior. Review the relevant Azure REST specification entry, if present; done means identifying the cause and defining a concrete specification or endpoint correction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, openapi
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100