Skip to content
New issue

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

AzureAD application creation odata.id change on microsoft side #201

Closed
mreadings opened this issue Oct 6, 2021 · 1 comment · Fixed by #204
Closed

AzureAD application creation odata.id change on microsoft side #201

mreadings opened this issue Oct 6, 2021 · 1 comment · Fixed by #204
Assignees
Labels
kind/bug Some behavior is incorrect or out of spec resolution/fixed This issue was fixed
Milestone

Comments

@mreadings
Copy link

Howdy

  • Vote on this issue by adding a 👍 reaction
  • To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already)

Seems like microsoft has changed the way they respond with @odata.id when creating an application which is causing a downstream issue on the terraform azure AD plugin which in turn causes a problem in Pulumi

https://issueexplorer.com/issue/hashicorp/terraform-provider-azuread/588

	* Could not create application: json.Marshal(): json: error calling MarshalJSON for type msgraph.Application: json: error calling MarshalJSON for type *msgraph.Owners: marshaling Owners: encountered DirectoryObject with nil ODataId

Steps to reproduce

using Pulumi.AzureAD;

      var appName = testaks;
      var adApp = new Application(appName, new ApplicationArgs()
      {
        DisplayName = appName,
      });

Expected: create an AzureAD application
Actual: * Could not create application: json.Marshal(): json: error calling MarshalJSON for type msgraph.Application: json: error calling MarshalJSON for type *msgraph.Owners: marshaling Owners: encountered DirectoryObject with nil ODataId

@stazz
Copy link

stazz commented Oct 7, 2021

Pending for new release of TF provider, the issue already has PR: hashicorp/terraform-provider-azuread#588 .

@stack72 stack72 self-assigned this Oct 7, 2021
@stack72 stack72 added this to the 0.63 milestone Oct 7, 2021
@pulumi-bot pulumi-bot added the resolution/fixed This issue was fixed label Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec resolution/fixed This issue was fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants