https://pulumi.com logo
#azure
Title
# azure
f

flaky-yak-39108

06/24/2022, 11:57 AM
Hello All, I am trying to retrieve my Azure subscription ID within Pulumi using the typescript
azure-native
library and using the
getClientConfig({})
function. But i am getting the following error response
Copy code
Error: invocation of azure-native:authorization:getClientConfig returned an error: getting authenticated object ID: Error parsing json result from the Azure CLI: Error retrieving running Azure CLI: WARNING: This command or command group has been migrated to Microsoft Graph API. Please carefully review all breaking changes introduced during this migration: <https://docs.microsoft.com/cli/azure/microsoft-graph-migration>
Is there another way to retrieve the subscription ID or to avoid it all together, i need it for child processes that are referenced via azure ID
☝️ 1
c

colossal-match-83110

07/05/2022, 2:23 PM
I had this start happening in python as well seemingly from upgrading the azure cli to 2.37.0.
5 Views