Accessing Azure Key Vault via Ansible reports an error.
I have an Ansible playbook that connects to a Windows 2019 server via WinRM, transport NTLM.
I log into the machine without any problems, I execute processes remotely through Ansible and Powershell modules.
When I run a search for an SSL certificate in Azure Key Vault (Get-AzKeyVaultCertificate for example) it reports a connection error, even though I have already run a successful Connect-AzAccount.
In order for me to successfully execute my playbook, I need to access the server and log in to it. Once this is done, the playbook runs smoothly.
Could anyone tell me where this "blockage" is and how to solve this problem?