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

Public Client Property while creating AD application (azuread_application) #74

Closed
saiprasanthrajavarapu opened this issue Apr 9, 2019 · 5 comments

Comments

@saiprasanthrajavarapu
Copy link

saiprasanthrajavarapu commented Apr 9, 2019

Issues on GitHub are intended to be related to bugs or feature requests with provider codebase,
so we recommend using our other community resources instead of asking here 👍.

Hello Team,

we are using "azuread_application" provider to create a client Azure AD application. we dont see any Public Client property in attributes of the provider. Is there a way to achieve a public client property using terraform?

resource "azuread_application" "clientreg" {
  name                       = "${local.Clientname}"
  reply_urls                 = ["https://${local.Clientname}"]
  available_to_other_tenants = true
  required_resource_access {
    resource_app_id = "00000000-0000-0000-0000-000000000000"
  
    resource_access {
      id = "${local.AzureAD}"
      type = "Scope"
    }
  }
  required_resource_access {
    resource_app_id = "${azuread_application.serverreg.application_id}"
  
    resource_access {
      id = "${data.external.AADserver_application.result["oauth2PermissionsID"]}"
      type = "Scope"
    }
  }
  lifecycle {
    ignore_changes = ["required_resource_access","tags.CreatedDate"]
  }
}
@lzadjsf
Copy link

lzadjsf commented Apr 16, 2019

Seems like duplicate...
#67
Please vote there

@athempel
Copy link

athempel commented May 11, 2019

No, this is not a duplicate of #67.

#67 is about retrieving the OAuth2 permissions ID of an Azure AD application.

This is about setting the "publicClient" boolean property of an Azure AD application.

@katbyte
Copy link
Collaborator

katbyte commented May 23, 2019

Hi @athempel,

This will be exposed by setting the "type" of the application. This matches the Azure portal and currently being added via #34.

@katbyte
Copy link
Collaborator

katbyte commented May 23, 2019

Closed by #34

@katbyte katbyte closed this as completed May 23, 2019
@ghost
Copy link

ghost commented Jun 23, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Jun 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants