Feedback: Get Azure AD Application Owner (Get-AzADApplicationOwner)

Created on 29 Mar 2019  路  11Comments  路  Source: MicrosoftDocs/feedback

Is your feature request related to a problem? Please describe.
Couldn't get Azure AD application owner(s) through the PowerShell module Az.Accounts (version 1.3.0).

Describe the solution you'd like
Would like to have a cmdlet called "Get-AzADApplicationOwner".

Describe alternatives you've considered
A property "Owner" of the Azure Ad application when we use the cmdlet "Get-AzADApplication".

Additional context
As we can use Get-AzADApplication (Az.Accounts module) instead of Get-AzureADApplication (Azure Ad module).
Why there is not a Get-AzADApplicationOwner (Az.Accounts module) cmdlet instead of Get-AzureADApplicationOwner (Azure Ad module).

Pri3 product-feedback

Most helpful comment

Is there any timeline for getting this API. Any other workround to get the application owner for a registered application?

All 11 comments

Thank you for creating the issue! One of our team members will get back to you shortly with additional information.

@JamesDLD you can try Get-AzureADApplicationOwner -ObjectId
see details here -https://docs.microsoft.com/en-us/powershell/module/azuread/get-azureadapplicationowner?view=azureadps-2.0

@sudeepku
Additional context
As we can use Get-AzADApplication (Az.Accounts module) instead of Get-AzureADApplication (Azure Ad module).
Why there is not a Get-AzADApplicationOwner (Az.Accounts module) cmdlet instead of Get-AzureADApplicationOwner (Azure Ad module)

Same problem here, its making it difficult for reporting.
We cant go back to AzureRM module now, all other workbooks are now in Az.

@sudeepku
Additional context
As we can use Get-AzADApplication (Az.Accounts module) instead of Get-AzureADApplication (Azure Ad module).
Why there is not a Get-AzADApplicationOwner (Az.Accounts module) cmdlet instead of Get-AzureADApplicationOwner (Azure Ad module)

James - I ended up installing AzureAD module and I could use this cmdlet with Az module.

I think this command wasnt a part of AzureRm module to start with so may not come at all in Az.

https://docs.microsoft.com/en-us/powershell/module/azuread/get-azureadapplicationowner?view=azureadps-2.0 module says AzureAD

I agree with your point thoug, why not et-AzADApplicationOwner (Az.Accounts module) cmdlet instead of Get-AzureADApplicationOwner (Azure Ad module)

Hello @g0pinath
indeed both commands weren't part of the AzureRm module but as Get-AzADApplication became part of the Az module I am asking to go to the end of reasoning and publish the command Get-AzADApplicationOwner.

Is there any timeline for getting this API. Any other workround to get the application owner for a registered application?

@RobdeJong, would love this request be considered for addition to the AZ.Accounts module.

Same for us, the functions Get-AzADApplicationOwner/Set-AzADApplicationOwner would really simplify work for us. The workaround is to use the old Get/Set-AzureADApplicationOwner (need to perform Connect-AzureAD first and the module AzureAD does not seem to work in powershell 7)

I've just hit this too, want to be able to add the service principal im using as an owner to an AD app, however I can't use 'Add-AzureADApplicationOwner' and there is no modern replacement it seems.

+1

Until this get picked up, you can also use AzureCli:
az ad app owner list --id [App Object Id]
https://docs.microsoft.com/en-us/cli/azure/ad/app/owner?view=azure-cli-latest
* I'm not a part of the team, this was just helpful for me *

Was this page helpful?
0 / 5 - 0 ratings