Syntax
ActiveDirectory.Domains(optional forestRootDomainName as nullable text) as table
Description
Returns a list of Active Directory domains in the same forest as the specified domain or of the current machine’s domain if none is specified.
Reference Data
https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference