Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.26k stars 3.86k forks source link

[Feature]: Update Entra application settings for all properties #25095

Open twsouthwick opened 5 months ago

twsouthwick commented 5 months ago

Description of the new feature

I'm trying to set the Service Management Reference value for an Entra application but cannot see how to do it with powershell. With Azure CLI I can do the following:

az ad app update --id [id] --set serviceManagementReference=[my-value]

It would be great to have a an equivalent for the Azure Powershell cmdlets

Proposed implementation details (optional)

No response

VeryEarly commented 5 months ago

Hi @twsouthwick ,

This property is currently not supported, we will plan to add it and meanwhile please try below workaround:

$payload = @{serviceManagementReference="[my-value]"} | ConvertTo-Json
Invoke-AzRestMethod -Method PATCH -Uri https://graph.microsoft.com/v1.0/applications/[id] -Payload $payload
VeryEarly commented 5 months ago

Hi @twsouthwick ,

Fix for this issue has been merged, please try new release on 2024-07-02 PST