We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Taking a look at part of the metadata for the microsoft.graph.conditionalAccessConditionSet type
microsoft.graph.conditionalAccessConditionSet
microsoft.graph.conditionalAccessConditionSet: title: conditionalAccessConditionSet required: - '@odata.type' type: object properties: servicePrincipalRiskLevels: type: array items: $ref: '#/components/schemas/microsoft.graph.riskLevel' description: 'Service principal risk levels included in the policy. Possible values are: low, medium, high, none, unknownFutureValue.' signInRiskLevels: type: array items: $ref: '#/components/schemas/microsoft.graph.riskLevel' description: 'Sign-in risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required.' userRiskLevels: type: array items: $ref: '#/components/schemas/microsoft.graph.riskLevel' description: 'User risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required.'
The properties userRiskLevels , userRiskLevels and servicePrincipalRiskLevels are a collection of the microsoft.graph.riskLevel enum.
userRiskLevels
servicePrincipalRiskLevels
microsoft.graph.riskLevel
They are however generated as List as seen at the link below.
https://github.com/microsoftgraph/msgraph-beta-sdk-dotnet/blob/afc29699f21294613457e2e9ed5a7d7d3e88028f/src/Microsoft.Graph/Generated/Models/ConditionalAccessConditionSet.cs#L62
This looks to be caused by the function not looking up the type for Enums and defaulting to string when the schema is a collection type.
kiota/src/Kiota.Builder/KiotaBuilder.cs
Line 983 in bdc2a80
The text was updated successfully, but these errors were encountered:
andrueastman
Successfully merging a pull request may close this issue.
Taking a look at part of the metadata for the
microsoft.graph.conditionalAccessConditionSet
typeThe properties
userRiskLevels
,userRiskLevels
andservicePrincipalRiskLevels
are a collection of themicrosoft.graph.riskLevel
enum.They are however generated as List as seen at the link below.
https://github.com/microsoftgraph/msgraph-beta-sdk-dotnet/blob/afc29699f21294613457e2e9ed5a7d7d3e88028f/src/Microsoft.Graph/Generated/Models/ConditionalAccessConditionSet.cs#L62
This looks to be caused by the function not looking up the type for Enums and defaulting to string when the schema is a collection type.
kiota/src/Kiota.Builder/KiotaBuilder.cs
Line 983 in bdc2a80
The text was updated successfully, but these errors were encountered: