-
UPDATE: I realized the help documentation I was looking at was for Az module version 9.3.0. I'm using the Cloud Shell on the Azure portal which is apparently a lower version and that is the cause of the issue. This works fine with Az 9.3.0 installed locally on Windows. I'm trying to find Az resources using the Cloud Shell (Powershell) and it seems the command is not working as expected. If I run Get-AzResource, and take the ResourceID from one of the results, and turn around retry that same query but specifying the -ResourceID property with said ResourceID, the command fails with an error I do not understand.
Note: Subscription GUID and resource have been modified for security. From the documentation See Here my query is proper usage of this command so I do not understand what is going on. Example provided:
Further issue: As the example shows, one of the returned properties should be ResourceType, but I'm not showing this property being provided by the Get-AzResource command, currently. This is the property I'm after. Is this a bug? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I realized the help documentation I was looking at was for Az module version 9.3.0. I'm using the Cloud Shell on the Azure portal which is apparently a lower version and that is the cause of the issue. This works fine with Az 9.3.0 installed locally on Windows. |
Beta Was this translation helpful? Give feedback.
-
Cloud Shell is currently using 9.3.0. In general, release in Cloud Shell can't be at exactly the same instant as release to the module download location so Cloud Shell might be behind in some regions for a day or so post-release. |
Beta Was this translation helpful? Give feedback.
I realized the help documentation I was looking at was for Az module version 9.3.0. I'm using the Cloud Shell on the Azure portal which is apparently a lower version and that is the cause of the issue. This works fine with Az 9.3.0 installed locally on Windows.