Azure / Azure/azure-rest-api-specs

streamanalytics: API doesn't support Identity Type `None`

Open
#17,649 2 comments 0 reactions 0 assignees View on GitHub
customer-reported question Service Attention Stream Analytics
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

Service: `Stream Analytics`
API Version: `2020-03-01-preview`

Most of the API's which support a Managed Identity support specifying `Type: None` in addition to omitting the `identity` block - however Stream Analytics doesn't an instead returns an error:

> Code="BadRequest"
> Message="The JSON provided in the request body is invalid. Cannot convert value 'None' to type 'System.Nullable`1[Microsoft.Streaming.Service.Contracts.CSMResourceProvider.IdentityType]"

Can this be updated to match the other API's which support Managed Identities?

Thanks!

Contributor guide

Open the contributing guide

Research direction

Inspect the Stream Analytics API specification for version 2020-03-01-preview and compare its managed-identity definition with other APIs that accept Type: None. Confirm the request schema and generated specification represent None correctly, then verify that requests using this identity type no longer produce the reported conversion error.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.