I'm afraid the upstream bug has not been fixed yet. They just closed the bug because they said they would work on it. The issue is still present in Azure CLI 2.43.0 which I am about to upload.