Closed tiwood closed 5 years ago
@tiwood it seems there was an issue with the service specs. this has been fixed here https://github.com/Azure/azure-rest-api-specs/pull/4353
Since its a breaking change for the sdk its going to make its way in the next major bump of the sdk at the end of the month,.
Also the fix should be available in the latest
branch of this repo.
@vladbarosan thank you for the heads up.
Bug Report
I'm trying to create Azure AD Domain Services with the SDK.
I'm doing the following:
The following error is returned:
aad.DomainServicesClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="InvalidRequestContent" Message="The request content was invalid and could not be deserialized: 'Could not find member 'tenantId' on object of type 'ResourceDefinition'. Path 'tenantId', line 1, position 12.'."
Things I've tried
I assume the API expects something different from the provided body.