title: Couldn't find api version for Microsoft.DataFactory/factories?api-version=2018-06-01
body: <p>I am querying the data factories within a resource group but I couldn't make it work. I can query it through the rest api but not through azure_rm_resource_info ansible module:</p>
  <pre><code>- name: Check if Data Factory ({{ az_datafactory_name }}) already exists
  azure.azcollection.azure_rm_resource_info:
    auth_source: auto
    client_id: &quot;{{ az_client_id }}&quot;
    secret: &quot;{{ az_secret }}&quot;
    tenant: &quot;{{ az_tenant_id }}&quot;
    subscription_id: &quot;{{ az_subscription_id }}&quot;
    url: &quot;https://management.azure.com/subscriptions/{{ az_subscription_id }}/resourceGroups/{{ az_resource_group_name }}/providers/Microsoft.DataFactory/factories?api-version=2018-06-01&quot;
  register: az_datafactory
  </code></pre>
  <p>Output:
  fatal: [localhost]: FAILED! =&gt; {&quot;changed&quot;: false, &quot;msg&quot;: &quot;Couldn't find api version for Microsoft.DataFactory/factories?api-version=2018-06-01&quot;}</p>