lwhitelock / HuduM365Automation

Hudu Microsoft 365 Syncronisation Tool
GNU Affero General Public License v3.0
29 stars 72 forks source link

Using TenantID rather then default domain #10

Open dracon80 opened 2 years ago

dracon80 commented 2 years ago

Rather then use the default domain, which in my case most older customers are set to onmicrosoft.com domains for some reason. Why not create an API Asset Layout and give the Asset the name of the Microsoft Tenant. This has the benefit of not monitoring the onmicorsoft.com domain if you aren't interested in it, and allows you to store the TenantID for all kinds of other endpoints such as Sophos, Fortinet, and pretty much anywhere you need to connect too.

You then just search for the tenantID rather then default domain.