maester365 / maester

The core repository for the Maester module with helper cmdlets that will be called from the Pester tests.
https://maester.dev
MIT License
356 stars 87 forks source link

Update azure-container-app-job.md #422

Closed irwins closed 3 months ago

irwins commented 3 months ago

You need the objectId of the application to update the certificateCredentials

Invoke-MgGraphRequest -Method PATCH -Uri "https://graph.microsoft.com/v1.0/applications/$applicationObjectId" -Body $body

or you can use the applicationId

Invoke-MgGraphRequest -Method PATCH -Uri "https://graph.microsoft.com/v1.0/applications(appId='$applicationId')" -Body $body