- Mark as New
- Bookmark
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
07-21-2019
02:35 PM
Connect-AzureAD to Other Tenants with Secure Application Model
Hello! Is it possible to use Connect-AzureAD to connect to other tenants using the secure application model? Connect-AzureAD goes through for me, but when attempting to run something like Get-AzureADUser, I get the following error:
get-azureaduser : Error occurred while executing GetUsers Code: Request_BadRequest Message: Invalid domain name in the request url. RequestId: 84f9ac40-c6cb-4a58-beaf-b69dd1038b5e DateTimeStamp: Sun, 21 Jul 2019 21:18:23 GMT HttpStatusCode: BadRequest HttpStatusDescription: Bad Request HttpResponseStatus: Completed At line:1 char:1 + get-azureaduser + ~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-AzureADUser], ApiException + FullyQualifiedErrorId : Microsoft.Open.AzureAD16.Client.ApiException,Microsoft.Open.AzureAD16.PowerShell.GetUser
Thanks in advance!
Who Me Too'd this topic