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_service_principal - Improved UX for tags (was: Missing Visible to Users Interface) #354

Closed
Ravenzmynd opened this issue Nov 12, 2020 · 6 comments · Fixed by #571
Closed

Comments

@Ravenzmynd
Copy link

It appears that the ability to set the "Visible to users" flag is missing in the terraform when creating an azuread_application. We are attempting to create a service principal for use in automation, (and can do so thank you!); however, this is not an application we need nor would want to have show up in the O365 applications listing as it isn't pertinent to the user base, but only leveraged for the operations team.

For now we have to manually compensate in the portal or drop out of the terraform in favor an "az cli" command. A clunky solution at best from our patterns and practices.

Can this be addressed at some point please? Is there something we are missing or a reason why this property isn't allowed for from the Terraform perspective?

Thanks!

Screenshot for the property in the azure portal
Screenshot 2020-11-12 071539

@manicminer
Copy link
Member

Hi @Ravenzmynd, thanks for requesting this feature. I haven't been able to locate this property in the API references, neither for Azure AD Graph nor Microsoft Graph. Do you have a working 'az cli' command for this? It may help in identifying the property.

@manicminer manicminer changed the title azuread_application - Missing Visible to Users Interface azuread_service_principal - Missing Visible to Users Interface Nov 12, 2020
@Ravenzmynd
Copy link
Author

I am unable to locate this flag as well. Wondering if this is supported outside the console/portal at all at this point? :/

@ghost ghost removed the waiting-response label Nov 13, 2020
@manicminer
Copy link
Member

I'm going to mark this as blocked until we can determine whether any API support for this property exists.

@manicminer manicminer added this to the Blocked milestone Nov 30, 2020
@HorstBoy
Copy link

HorstBoy commented Dec 3, 2020

Toggling setting on portal adds/removes tag called HideApp.

Hide app:

~$ az ad sp update --id f5f6ecff-8661-4726-a83f-8e7db8aa068f --add tags "HideApp"

"Unhide" app:

~$ az ad sp show --id f5f6ecff-8661-4726-a83f-8e7db8aa068f --query tags
[
  "HideApp",
  "WindowsAzureActiveDirectoryIntegratedApp"
]

~$ az ad sp update --id f5f6ecff-8661-4726-a83f-8e7db8aa068f --remove tags 0
[
  "WindowsAzureActiveDirectoryIntegratedApp"
]

For PowerShell example see https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/hide-application-from-user-portal .

@manicminer manicminer modified the milestones: Blocked, v2.0.0 May 27, 2021
@manicminer manicminer modified the milestones: v2.0.0, v2.1.0 Jul 13, 2021
@manicminer manicminer changed the title azuread_service_principal - Missing Visible to Users Interface azuread_service_principal - Improved UX for tags (was: Missing Visible to Users Interface) Sep 1, 2021
@manicminer manicminer modified the milestones: v2.1.0, v2.2.0, v2.3.0 Sep 1, 2021
@github-actions
Copy link

This functionality has been released in v2.3.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants