ansible-collections / azure

Development area for Azure Collections
https://galaxy.ansible.com/azure/azcollection
GNU General Public License v3.0
247 stars 331 forks source link

Authentication against Azure portal without subscription ID #1760

Open cr0cdev opened 2 weeks ago

cr0cdev commented 2 weeks ago

Hello!

Is it possible to authenticate against Azure portal without providing subscription_id as credential? We are using application + certificate to authenticate against Graph API without any subscription_id. It would be great if subscription_id would be optional since there are cases (MSP or MSSP) where there are no subscription ID's and the billing is done via reseller and not directly from Azure portal. Example would be getting information from Azure portal for all M365 licenses that have been used. API endpoint would be: https://graph.microsoft.com/v1.0/subscribedSkus

Thanks!