Open petehauge opened 4 years ago
Quick update - I tried to go back to prior versions of PowerShell and didn't find a working version, all the way back to 1.8.0 unfortunately. I'm not sure if the APIs in Azure changed, but I wanted to add this in as extra information.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure.
Hi @petehauge ,
Thanks for reporting this issue, forwarded to ARM team.
Ok, thanks forwarding the feedback! I'm doing more digging on my side and I found a workaround in our library code... So it's OK if this behavior is going to stay. I'm also not 100% sure that this is a regression - it might be our fault in our code that things are failing - I haven't been able to narrow that part down. Just wanted to let you know, Thanks!!
Description
After upgrading to the latest version of Azure Powershell, my simple command is no longer working.
This used to work fine, I would get a list of DevTest Labs based on the DTL resource provider (and the $_.Properties was populated). Now I get an error which looks like the call is going to the generic ARM resource provider instead of the Resource provider I'm specifying.
It looks like if I specify other properties (resource group & name) then I get the right provider, but it breaks a bunch of existing code I have... In addition, I'm trying to query for all the labs in the subscription, so I would need to do multiple calls to Azure to compile this list if I have to specify the name & RG name to get the properties...
Let me know if you need any more info from me!
Steps to reproduce
Environment data
Module versions
Debug output
Error output