azure-sdk-for-go icon indicating copy to clipboard operation
azure-sdk-for-go copied to clipboard

graphrbac: property 'samlToken' does not exist on type 'Microsoft.DirectoryServices.OptionalClaims'

Open manicminer opened this issue 5 years ago • 5 comments

Bug Report

  • github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac
  • v42.1.0
  • go version go1.14.2 darwin/amd64

I'm trying to include OptionalClaims when creating an Application. I can submit claims for AccessToken and IDToken, but attempting to set claims for SamlToken I get a 400 error:

The property 'samlToken' does not exist on type 'Microsoft.DirectoryServices.OptionalClaims'. Make sure to only use property names that are defined by the type.

SDK is using the object key samlToken but I believe this is supposed to be saml2Token as described at https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-optional-claims#optionalclaims-type

manicminer avatar May 29 '20 05:05 manicminer

Hi @manicminer thanks for this issue!

This should be another bug in graphrbac's swagger... I have tagged this issue so that the service team would have a look and probably update their swagger and then the SDK would pick up that update accordingly.

ArcturusZhang avatar Jun 01 '20 03:06 ArcturusZhang

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure.

msftbot[bot] avatar Jun 01 '20 03:06 msftbot[bot]

Any idea when this bug will be fixed?

MarkDordoy avatar Jul 29 '20 09:07 MarkDordoy

Any idea when this will be done?

MarkDordoy avatar Sep 22 '20 13:09 MarkDordoy

Is there any update on this issue?

drem-darios avatar Jul 25 '22 22:07 drem-darios