Hello All, I am trying to retrieve my Azure subscr...
# azure
f
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
I had this start happening in python as well seemingly from upgrading the azure cli to 2.37.0.