Reputation: 3
I am coding in c#. I am trying to call the cmdlets of the Azure Active Directory V2 PowerShell module from C# but can't create a PasswordProfile parameter for an invocation of New-AzureADUser because it is a type in the Microsoft.Open.AzureAD.Model namespace. I can't find a DLL to reference that contains that namespace. Can anybody direct me to it?
Upvotes: 0
Views: 1114
Reputation: 14649
AFAIK, this namespace is defined in the Microsoft.Open.AzureAD16.Graph.Client.dll
and Microsoft.Open.AzureADBeta.Graph.Client.dll
. You can find these dll in the specific version of Azure Active Directory V2 PowerShell module. For example, I installed the Azure AD PowerShell Version 2 preview module(2.0.0.85), then thse library could be found in the path below:
C:\Program Files\WindowsPowerShell\Modules\AzureADPreview\2.0.0.85
Upvotes: 1