Code Monkey home page Code Monkey logo

azureadrecon's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

azureadrecon's Issues

Failure to load AzureAD or one of its dependencies

Running into an issue when executing AzureADRecon.

[*] AzureADRecon v0.01 by Prashant Mahajan (@prashant3535) [Invoke-AzureADRecon] Could not load file or assembly 'C:\\Program Files\\WindowsPowerShell\\Modules\\AzureAD\\2.0.2.76' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)

I have AzureAD and use it on a daily basis, I am confident it is working properly

Get-Module -ListAvailable -Name AzureAD

Directory: C:\Program Files\WindowsPowerShell\Modules

ModuleType Version Name ExportedCommands


Binary 2.0.2.76 AzureAD {Add-AzureADApplicationOwner, Get->AzureADApplication, Get-...
Binary 2.0.2.16 AzureAD {Add-AzureADApplicationOwner, Get->AzureADApplication, Get-...
Binary 2.0.2.4 AzureAD {Add-AzureADApplicationOwner, Get->AzureADApplication, Get-...

Feature request - Nested groups

Hi!

During the review of rights on a tenant, I wanted to check every user member of a specific group. Howerver, in the GroupMember tab in the results, I noted that nested groups were noted. As such users in an nested group are not showed in the view.

As such, my feature request concerns the addition of nested users in the GroupMember sheet.

Thanks.

Getting error when running script

I get the following error:

Get-AzureADUser : Error reading JToken from JsonReader. Path '', line 0, position 0.
At C:\Script\Scripts\AzureADRecon.ps1:2213 char:28

  •     $AzureADUsers = @( Get-AzureADUser -All $true )
    
  •                        ~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Get-AzureADUser], JsonReaderException
    • FullyQualifiedErrorId : Newtonsoft.Json.JsonReaderException,Microsoft.Open.AzureAD16.PowerShell.GetUser
      =====================================================
      Get-AzureADGroupMember : Error reading JToken from JsonReader. Path '', line 0, position 0.
      At C:\Script\Scripts\AzureADRecon.ps1:2485 char:42
  • ... $AADRGroupMemberMember = Get-AzureADGroupMember -ObjectId $_.ObjectId
  •                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Get-AzureADGroupMember], JsonReaderException
    • FullyQualifiedErrorId : Newtonsoft.Json.JsonReaderException,Microsoft.Open.AzureAD16.PowerShell.GetGroupMembers

=====================================================
Get-AzureADGroupMember : Error reading JToken from JsonReader. Path '', line 0, position 0.
At C:\Script\Scripts\AzureADRecon.ps1:2485 char:42

  • ... $AADRGroupMemberMember = Get-AzureADGroupMember -ObjectId $_.ObjectId
  •                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Get-AzureADGroupMember], JsonReaderException
    • FullyQualifiedErrorId : Newtonsoft.Json.JsonReaderException,Microsoft.Open.AzureAD16.PowerShell.GetGroupMembers

=====================================================

An assembly with the same simple name 'Microsoft.Open.AzureAD16.Graph.Client, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null has already been imported. Try removing one of the references or sign them to enable side-by-side.

Hi there / kindly for your attention and thanks for all your hard work. The below is persistent.

[*] AzureADRecon v0.02 by Prashant Mahajan (@prashant3535)
Add-Type : (0) : An assembly with the same simple name 'Microsoft.Open.AzureAD16.Graph.Client, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=null has already been imported. Try removing one of the references or sign them to
enable side-by-side.

image

Powershell 7.1.5 issues

Runs fine in powershell 5

But running in powershell 7.1.5
PS C:\AzureADRecon-master\AzureADRecon-master> .\AzureADRecon.ps1
[*] AzureADRecon v0.01 by Prashant Mahajan (@prashant3535)
Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (4,14): error CS0234: The type or namespace name 'Management' does not exist in the namespace 'System' (are you missing an assembly reference?) using System.Management.Automation; ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (12,24): error CS0246: The type or namespace name 'Dictionary<,>' could not be found (are you missing a using directive or an assembly reference?) private static Dictionary<string, string> AzureSkuIDDictionary =
| new Dictionary<string, string>() ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (116,27): error CS0246: The type or namespace name 'Dictionary<,>' could not be found (are you missing a using directive or an assembly reference?) private static readonly Dictionary<string, string> Replacements = new
| Dictionary<string, string>() ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (274,13): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject[] processRecord(Object record); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (279,20): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) public PSObject[] processRecord(Object record)
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (413,20): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) public PSObject[] processRecord(Object record)
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (457,20): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) public PSObject[] processRecord(Object record)
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (503,20): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) public PSObject[] processRecord(Object record)
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (558,20): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) public PSObject[] processRecord(Object record)
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (660,20): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) public PSObject[] processRecord(Object record)
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (685,20): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) public PSObject[] processRecord(Object record)
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (711,20): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) public PSObject[] processRecord(Object record)
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (751,21): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) private List processed = new List();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (12,78): error CS0246: The type or namespace name 'Dictionary<,>' could not be found (are you missing a using directive or an assembly reference?) private static Dictionary<string, string> AzureSkuIDDictionary =
| new Dictionary<string, string>() ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (116,73): error CS0246: The type or namespace name 'Dictionary<,>' could not be found (are you missing a using directive or an assembly reference?) private static readonly Dictionary<string, string> Replacements = new
| Dictionary<string, string>() ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (107,22): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) foreach (PSObject AdLicense in AdLicenses)
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (196,13): error CS0246: The type or namespace name 'Thread' could not be found (are you missing a using directive or an assembly reference?) Thread[] threads = new Thread[numOfThreads]; ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (196,36): error CS0246: The type or namespace name 'Thread' could not be found (are you missing a using directive or an assembly reference?) Thread[] threads = new Thread[numOfThreads];
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (210,34): error CS0246: The type or namespace name 'Thread' could not be found (are you missing a using directive or an assembly reference?) threads[i] = new Thread(processorThread.processThreadRecords);
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (213,22): error CS0246: The type or namespace name 'Thread' could not be found (are you missing a using directive or an assembly reference?) foreach (Thread t in threads) ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (751,50): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) private List processed = new List();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (264,39): error CS0029: Cannot implicitly convert type 'PSObject[]' to 'object[]' Object[] result = recordProcessor.processRecord(objectsToBeProcessed[i]); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (765,44): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) processed.Add((PSObject)results[i]);
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (664,21): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADDirectoryRole = (PSObject) record;
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (664,54): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADDirectoryRole = (PSObject) record;
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (666,21): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADDirectoryRoleObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (666,60): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADDirectoryRoleObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (667,61): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDirectoryRoleObj.Members.Add(new
| PSNoteProperty("DisplayName", CleanString(AzureADDirectoryRole.Members["DisplayName"].Value))); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (668,61): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDirectoryRoleObj.Members.Add(new
| PSNoteProperty("RoleDisabled", AzureADDirectoryRole.Members["RoleDisabled"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (669,61): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDirectoryRoleObj.Members.Add(new
| PSNoteProperty("IsSystem", AzureADDirectoryRole.Members["IsSystem"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (670,61): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDirectoryRoleObj.Members.Add(new
| PSNoteProperty("Description", CleanString(AzureADDirectoryRole.Members["Description"].Value))); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (671,61): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDirectoryRoleObj.Members.Add(new
| PSNoteProperty("RoleTemplateId", AzureADDirectoryRole.Members["RoleTemplateId"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (672,61): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDirectoryRoleObj.Members.Add(new
| PSNoteProperty("ObjectId", AzureADDirectoryRole.Members["ObjectId"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (673,32): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) return new PSObject[] { AzureADDirectoryRoleObj };
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (677,21): error CS0103: The name 'Console' does not exist in the current context Console.WriteLine("Exception caught: {0}", e); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (678,32): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) return new PSObject[] { };
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (689,21): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADGroup = (PSObject) record;
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (689,46): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADGroup = (PSObject) record;
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (691,21): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADGroupObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (691,52): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADGroupObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (692,53): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADGroupObj.Members.Add(new
| PSNoteProperty("DisplayName", CleanString(AzureADGroup.Members["DisplayName"].Value))); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (693,53): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADGroupObj.Members.Add(new
| PSNoteProperty("DirSyncEnabled", AzureADGroup.Members["DirSyncEnabled"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (694,53): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADGroupObj.Members.Add(new
| PSNoteProperty("LastDirSyncTime", AzureADGroup.Members["LastDirSyncTime"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (695,53): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADGroupObj.Members.Add(new
| PSNoteProperty("OnPremisesSecurityIdentifier", AzureADGroup.Members["OnPremisesSecurityIdentifier"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (696,53): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADGroupObj.Members.Add(new
| PSNoteProperty("SecurityEnabled", AzureADGroup.Members["SecurityEnabled"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (697,53): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADGroupObj.Members.Add(new
| PSNoteProperty("Description", CleanString(AzureADGroup.Members["Description"].Value))); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (698,53): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADGroupObj.Members.Add(new
| PSNoteProperty("ObjectId", AzureADGroup.Members["ObjectId"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (699,32): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) return new PSObject[] { AzureADGroupObj };
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (703,21): error CS0103: The name 'Console' does not exist in the current context Console.WriteLine("Exception caught: {0}", e); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (704,32): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) return new PSObject[] { };
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (715,21): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADDevice = (PSObject) record;
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (715,47): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADDevice = (PSObject) record;
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (717,21): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADDeviceObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (717,53): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADDeviceObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (718,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDeviceObj.Members.Add(new
| PSNoteProperty("DisplayName", CleanString(AzureADDevice.Members["DisplayName"].Value))); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (719,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDeviceObj.Members.Add(new
| PSNoteProperty("AccountEnabled", CleanString(AzureADDevice.Members["AccountEnabled"].Value))); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (720,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDeviceObj.Members.Add(new
| PSNoteProperty("DirSyncEnabled", AzureADDevice.Members["DirSyncEnabled"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (721,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDeviceObj.Members.Add(new
| PSNoteProperty("LastDirSyncTime", AzureADDevice.Members["LastDirSyncTime"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (722,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDeviceObj.Members.Add(new
| PSNoteProperty("DeviceOSType", AzureADDevice.Members["DeviceOSType"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (723,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDeviceObj.Members.Add(new
| PSNoteProperty("DeviceOSVersion", AzureADDevice.Members["DeviceOSVersion"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (724,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDeviceObj.Members.Add(new
| PSNoteProperty("ApproximateLastLogonTimeStamp", AzureADDevice.Members["ApproximateLastLogonTimeStamp"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (725,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDeviceObj.Members.Add(new
| PSNoteProperty("DeviceTrustType", AzureADDevice.Members["DeviceTrustType"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (726,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDeviceObj.Members.Add(new
| PSNoteProperty("ProfileType", AzureADDevice.Members["ProfileType"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (727,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDeviceObj.Members.Add(new
| PSNoteProperty("DeviceId", AzureADDevice.Members["DeviceId"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (728,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDeviceObj.Members.Add(new
| PSNoteProperty("ObjectId", AzureADDevice.Members["ObjectId"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (729,32): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) return new PSObject[] { AzureADDeviceObj };
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (733,21): error CS0103: The name 'Console' does not exist in the current context Console.WriteLine("Exception caught: {0}", e); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (734,32): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) return new PSObject[] { };
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (417,21): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADDomain = (PSObject) record;
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (417,47): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADDomain = (PSObject) record;
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (419,21): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List SupportedServicesList = new List();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (419,62): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List SupportedServicesList = new List();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (422,21): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADDomainObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (422,53): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADDomainObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (423,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDomainObj.Members.Add(new
| PSNoteProperty("Name", CleanString(AzureADDomain.Members["Name"].Value))); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (424,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDomainObj.Members.Add(new
| PSNoteProperty("AuthenticationType", AzureADDomain.Members["authenticationType"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (425,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDomainObj.Members.Add(new
| PSNoteProperty("AvailabilityStatus", AzureADDomain.Members["availabilityStatus"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (426,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDomainObj.Members.Add(new
| PSNoteProperty("isAdminManaged", AzureADDomain.Members["isAdminManaged"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (427,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDomainObj.Members.Add(new
| PSNoteProperty("isDefault", AzureADDomain.Members["isDefault"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (428,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDomainObj.Members.Add(new
| PSNoteProperty("isInitial", AzureADDomain.Members["isInitial"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (429,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDomainObj.Members.Add(new
| PSNoteProperty("isRoot", AzureADDomain.Members["isRoot"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (430,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDomainObj.Members.Add(new
| PSNoteProperty("isVerified", AzureADDomain.Members["isVerified"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (432,27): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) if (((List)
| AzureADDomain.Members["SupportedServices"].Value).Count != 0) ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (434,50): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) SupportedServicesList = (List)
| AzureADDomain.Members["SupportedServices"].Value; ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (441,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDomainObj.Members.Add(new
| PSNoteProperty("SupportedServices", SupportedServices)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (443,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDomainObj.Members.Add(new
| PSNoteProperty("ForceDeleteState", AzureADDomain.Members["ForceDeleteState"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (444,54): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADDomainObj.Members.Add(new
| PSNoteProperty("State", AzureADDomain.Members["State"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (445,32): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) return new PSObject[] { AzureADDomainObj };
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (449,21): error CS0103: The name 'Console' does not exist in the current context Console.WriteLine("Exception caught: {0}", e); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (450,32): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) return new PSObject[] { };
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (461,21): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADLicense = (PSObject) record;
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (461,48): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADLicense = (PSObject) record;
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (464,21): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List<Microsoft.Open.AzureAD.Model.ServicePlanInfo>
| ServicePlansList = new List<Microsoft.Open.AzureAD.Model.ServicePlanInfo>(); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (464,95): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List<Microsoft.Open.AzureAD.Model.ServicePlanInfo>
| ServicePlansList = new List<Microsoft.Open.AzureAD.Model.ServicePlanInfo>(); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (466,21): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADLicenseObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (466,54): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADLicenseObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (468,55): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADLicenseObj.Members.Add(new
| PSNoteProperty("SkuPartNumber", AzureADLicense.Members["SkuPartNumber"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (469,55): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADLicenseObj.Members.Add(new
| PSNoteProperty("SkuId", AzureADLicense.Members["SkuId"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (471,55): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADLicenseObj.Members.Add(new
| PSNoteProperty("ConsumedUnits", AzureADLicense.Members["ConsumedUnits"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (472,55): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADLicenseObj.Members.Add(new
| PSNoteProperty("AppliesTo", AzureADLicense.Members["AppliesTo"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (473,55): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADLicenseObj.Members.Add(new
| PSNoteProperty("CapabilityStatus", AzureADLicense.Members["CapabilityStatus"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (475,27): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) if (((List<Microsoft.Open.AzureAD.Model.ServicePlanInfo>)
| AzureADLicense.Members["ServicePlans"].Value).Count != 0) ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (477,45): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) ServicePlansList =
| (List<Microsoft.Open.AzureAD.Model.ServicePlanInfo>) AzureADLicense.Members["ServicePlans"].Value; ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (485,55): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADLicenseObj.Members.Add(new
| PSNoteProperty("PrepaidUnits-Enabled", (((Microsoft.Open.AzureAD.Model.LicenseUnitsDetail) AzureADLicense.Members["PrepaidUnits"].Value).Enabled))); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (485,96): error CS0012: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
| AzureADLicenseObj.Members.Add(new PSNoteProperty("PrepaidUnits-Enabled", (((Microsoft.Open.AzureAD.Model.LicenseUnitsDetail) AzureADLicense.Members["PrepaidUnits"].Value).Enabled)));
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (485,192): error CS0012: The type 'Nullable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
| AzureADLicenseObj.Members.Add(new PSNoteProperty("PrepaidUnits-Enabled", (((Microsoft.Open.AzureAD.Model.LicenseUnitsDetail) AzureADLicense.Members["PrepaidUnits"].Value).Enabled)));
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (486,55): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADLicenseObj.Members.Add(new
| PSNoteProperty("PrepaidUnits-Suspended", (((Microsoft.Open.AzureAD.Model.LicenseUnitsDetail) AzureADLicense.Members["PrepaidUnits"].Value).Suspended))); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (486,98): error CS0012: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
| AzureADLicenseObj.Members.Add(new PSNoteProperty("PrepaidUnits-Suspended", (((Microsoft.Open.AzureAD.Model.LicenseUnitsDetail) AzureADLicense.Members["PrepaidUnits"].Value).Suspended)));
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (486,194): error CS0012: The type 'Nullable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
| AzureADLicenseObj.Members.Add(new PSNoteProperty("PrepaidUnits-Suspended", (((Microsoft.Open.AzureAD.Model.LicenseUnitsDetail) AzureADLicense.Members["PrepaidUnits"].Value).Suspended)));
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (487,55): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADLicenseObj.Members.Add(new
| PSNoteProperty("PrepaidUnits-Warning", (((Microsoft.Open.AzureAD.Model.LicenseUnitsDetail) AzureADLicense.Members["PrepaidUnits"].Value).Warning))); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (487,96): error CS0012: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
| AzureADLicenseObj.Members.Add(new PSNoteProperty("PrepaidUnits-Warning", (((Microsoft.Open.AzureAD.Model.LicenseUnitsDetail) AzureADLicense.Members["PrepaidUnits"].Value).Warning)));
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (487,192): error CS0012: The type 'Nullable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
| AzureADLicenseObj.Members.Add(new PSNoteProperty("PrepaidUnits-Warning", (((Microsoft.Open.AzureAD.Model.LicenseUnitsDetail) AzureADLicense.Members["PrepaidUnits"].Value).Warning)));
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (488,55): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADLicenseObj.Members.Add(new
| PSNoteProperty("ServicePlans-Name", ServicePlanName)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (489,55): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADLicenseObj.Members.Add(new
| PSNoteProperty("ObjectId", AzureADLicense.Members["ObjectId"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (491,32): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) return new PSObject[] { AzureADLicenseObj };
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (495,21): error CS0103: The name 'Console' does not exist in the current context Console.WriteLine("Exception caught: {0}", e); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (496,32): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) return new PSObject[] { };
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (507,21): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureAdUser = (PSObject) record;
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (507,45): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureAdUser = (PSObject) record;
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (509,21): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List<Microsoft.Open.AzureAD.Model.AssignedLicense>
| AssignedLicensesList = new List<Microsoft.Open.AzureAD.Model.AssignedLicense>(); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (509,99): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List<Microsoft.Open.AzureAD.Model.AssignedLicense>
| AssignedLicensesList = new List<Microsoft.Open.AzureAD.Model.AssignedLicense>(); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (513,21): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADUserObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (513,51): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADUserObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (514,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("UserPrincipalName", CleanString(AzureAdUser.Members["UserPrincipalName"].Value))); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (515,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("DisplayName", CleanString(AzureAdUser.Members["DisplayName"].Value))); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (516,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("Enabled", AzureAdUser.Members["AccountEnabled"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (517,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("UserType", AzureAdUser.Members["UserType"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (518,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("DirSyncEnabled", AzureAdUser.Members["DirSyncEnabled"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (520,27): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) if (((List<Microsoft.Open.AzureAD.Model.AssignedLicense>)
| AzureAdUser.Members["AssignedLicenses"].Value).Count != 0) ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (522,49): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) AssignedLicensesList =
| (List<Microsoft.Open.AzureAD.Model.AssignedLicense>) AzureAdUser.Members["AssignedLicenses"].Value; ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (531,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("AssignedLicensesName", AssignedLicensesName)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (533,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("PasswordPolicies", AzureAdUser.Members["PasswordPolicies"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (534,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("OnPremisesSecurityIdentifier", AzureAdUser.Members["OnPremisesSecurityIdentifier"] != null ? AzureAdUser.Members["OnPremisesSecurityIdentifier"].Value : null));
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (535,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("OnPremisesDistinguishedName", CleanString(((Dictionary<string, string>) AzureAdUser.Members["ExtensionProperty"].Value)["onPremisesDistinguishedName"])));
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (535,112): error CS0246: The type or namespace name 'Dictionary<,>' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("OnPremisesDistinguishedName", CleanString(((Dictionary<string, string>) AzureAdUser.Members["ExtensionProperty"].Value)["onPremisesDistinguishedName"])));
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (536,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("CreatedDateTime", ((Dictionary<string, string>) AzureAdUser.Members["ExtensionProperty"].Value)["createdDateTime"])); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (536,88): error CS0246: The type or namespace name 'Dictionary<,>' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("CreatedDateTime", ((Dictionary<string, string>) AzureAdUser.Members["ExtensionProperty"].Value)["createdDateTime"]));
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (537,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("LastDirSyncTime", AzureAdUser.Members["LastDirSyncTime"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (538,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("EmployeeId", ((Dictionary<string, string>) AzureAdUser.Members["ExtensionProperty"].Value)["employeeId"])); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (538,83): error CS0246: The type or namespace name 'Dictionary<,>' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("EmployeeId", ((Dictionary<string, string>) AzureAdUser.Members["ExtensionProperty"].Value)["employeeId"])); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (539,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("Mobile", AzureAdUser.Members["Mobile"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (540,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("TelephoneNumber", AzureAdUser.Members["TelephoneNumber"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (541,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("userIdentities", AzureAdUser.Members["userIdentities"] != null ? AzureAdUser.Members["userIdentities"].Value : null)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (542,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("odata.type", ((Dictionary<string, string>) AzureAdUser.Members["ExtensionProperty"].Value)["odata.type"])); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (542,83): error CS0246: The type or namespace name 'Dictionary<,>' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("odata.type", ((Dictionary<string, string>) AzureAdUser.Members["ExtensionProperty"].Value)["odata.type"])); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (543,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("ObjectId", AzureAdUser.Members["ObjectId"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (544,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("ObjectType", AzureAdUser.Members["ObjectType"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (545,52): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADUserObj.Members.Add(new
| PSNoteProperty("AssignedLicenses", AssignedLicenses)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (546,32): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) return new PSObject[] { AzureADUserObj };
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (550,21): error CS0103: The name 'Console' does not exist in the current context Console.WriteLine("Exception caught: {0}", e); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (551,32): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) return new PSObject[] { };
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (562,21): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureAdServicePrincipal = (PSObject) record;
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (562,57): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureAdServicePrincipal = (PSObject) record;
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (564,21): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List AADRList = new List();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (564,49): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List AADRList = new List();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (568,21): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List<Microsoft.Open.AzureAD.Model.AppRole> AppRolesList =
| new List<Microsoft.Open.AzureAD.Model.AppRole>(); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (568,83): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List<Microsoft.Open.AzureAD.Model.AppRole> AppRolesList =
| new List<Microsoft.Open.AzureAD.Model.AppRole>(); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (569,21): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List<Microsoft.Open.AzureAD.Model.OAuth2Permission>
| OAuth2PermissionList = new List<Microsoft.Open.AzureAD.Model.OAuth2Permission>(); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (569,100): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List<Microsoft.Open.AzureAD.Model.OAuth2Permission>
| OAuth2PermissionList = new List<Microsoft.Open.AzureAD.Model.OAuth2Permission>(); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (571,21): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureAdServicePrincipalObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (571,63): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureAdServicePrincipalObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (572,64): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureAdServicePrincipalObj.Members.Add(new
| PSNoteProperty("DisplayName", CleanString(AzureAdServicePrincipal.Members["DisplayName"].Value))); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (573,64): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureAdServicePrincipalObj.Members.Add(new
| PSNoteProperty("Enabled", AzureAdServicePrincipal.Members["AccountEnabled"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (574,64): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureAdServicePrincipalObj.Members.Add(new
| PSNoteProperty("PublisherName", AzureAdServicePrincipal.Members["PublisherName"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (575,64): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureAdServicePrincipalObj.Members.Add(new
| PSNoteProperty("AppId", AzureAdServicePrincipal.Members["AppId"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (576,64): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureAdServicePrincipalObj.Members.Add(new
| PSNoteProperty("ObjectId", AzureAdServicePrincipal.Members["ObjectId"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (578,36): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) AADRList = new List();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (580,27): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) if (((List)
| AzureAdServicePrincipal.Members["ServicePrincipalNames"].Value).Count != 0) ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (582,37): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) AADRList = (List)
| AzureAdServicePrincipal.Members["ServicePrincipalNames"].Value; ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (589,64): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureAdServicePrincipalObj.Members.Add(new
| PSNoteProperty("ServicePrincipalNames", AADRString)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (591,36): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) AADRList = new List();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (593,27): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) if (((List)
| AzureAdServicePrincipal.Members["ReplyUrls"].Value).Count != 0) ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (595,37): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) AADRList = (List)
| AzureAdServicePrincipal.Members["ReplyUrls"].Value; ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (602,64): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureAdServicePrincipalObj.Members.Add(new
| PSNoteProperty("ReplyUrls", AADRString)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (604,64): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureAdServicePrincipalObj.Members.Add(new
| PSNoteProperty("LogoutUrl", AzureAdServicePrincipal.Members["LogoutUrl"].Value)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (609,27): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) if (((List<Microsoft.Open.AzureAD.Model.AppRole>)
| AzureAdServicePrincipal.Members["AppRoles"].Value).Count != 0) ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (611,41): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) AppRolesList =
| (List<Microsoft.Open.AzureAD.Model.AppRole>) AzureAdServicePrincipal.Members["AppRoles"].Value; ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (615,44): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) AADRList = new List();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (617,55): error CS0012: The type 'List<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
| if (((List) value.AllowedMemberTypes).Count != 0) ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (617,35): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) if (((List)
| value.AllowedMemberTypes).Count != 0) ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (619,65): error CS0012: The type 'List<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
| AADRList = (List) value.AllowedMemberTypes; ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (619,45): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) AADRList = (List)
| value.AllowedMemberTypes; ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (626,125): error CS0012: The type 'Nullable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
| AADRString2 = AADRString2 + AADRString + "," + value.Description + "," + value.Id + "," + value.IsEnabled + "," + value.Value + ",";
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (630,64): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureAdServicePrincipalObj.Members.Add(new
| PSNoteProperty("AppRoles (Count)", AADRCount)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (631,64): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureAdServicePrincipalObj.Members.Add(new
| PSNoteProperty("AppRoles - AllowedMemberTypes,Description,Id,IsEnabled,Value", CleanString(AADRString2))); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (635,27): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) if (((List<Microsoft.Open.AzureAD.Model.OAuth2Permission>)
| AzureAdServicePrincipal.Members["Oauth2Permissions"].Value).Count != 0) ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (637,49): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) OAuth2PermissionList =
| (List<Microsoft.Open.AzureAD.Model.OAuth2Permission>) AzureAdServicePrincipal.Members["Oauth2Permissions"].Value; ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (641,160): error CS0012: The type 'Nullable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
| AADRString = AADRString + "," + value.AdminConsentDescription + "," + value.AdminConsentDisplayName + "," + value.Id + "," + value.IsEnabled + "," + value.Type + "," + value.UserConsentDescription + "," +
| value.UserConsentDisplayName + "," + value.Value + ","; ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (645,64): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureAdServicePrincipalObj.Members.Add(new
| PSNoteProperty("OAuth2Permissions (Count)", AADRCount)); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (646,64): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureAdServicePrincipalObj.Members.Add(new
| PSNoteProperty("OAuth2Permissions - AdminConsentDescription,AdminConsentDisplayName,Id,IsEnabled,Type,UserConsentDescription,UserConsentDisplayName,Value", CleanString(AADRString)));
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (648,32): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) return new PSObject[] { AzureAdServicePrincipalObj };
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (652,21): error CS0103: The name 'Console' does not exist in the current context Console.WriteLine("Exception caught: {0}", e); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (653,32): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) return new PSObject[] { };
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (283,21): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADTenant = (PSObject) record;
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (283,47): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADTenant = (PSObject) record;
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (285,21): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List AzureADTenantObjList = new
| List(); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (285,26): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) List AzureADTenantObjList = new
| List(); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (285,63): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List AzureADTenantObjList = new
| List(); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (285,68): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) List AzureADTenantObjList = new
| List(); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (286,21): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADTenantObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (286,53): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) PSObject AzureADTenantObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (289,21): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List<Microsoft.Open.AzureAD.Model.VerifiedDomain>
| VerifiedDomainsList = new List<Microsoft.Open.AzureAD.Model.VerifiedDomain>(); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (289,97): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List<Microsoft.Open.AzureAD.Model.VerifiedDomain>
| VerifiedDomainsList = new List<Microsoft.Open.AzureAD.Model.VerifiedDomain>(); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (290,21): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List TechnicalNotificationMailsList = new
| List(); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (290,71): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List TechnicalNotificationMailsList = new
| List(); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (291,21): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List<Microsoft.Open.AzureAD.Model.AssignedPlan>
| AssignedPlanList = new List<Microsoft.Open.AzureAD.Model.AssignedPlan>(); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (291,92): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) List<Microsoft.Open.AzureAD.Model.AssignedPlan>
| AssignedPlanList = new List<Microsoft.Open.AzureAD.Model.AssignedPlan>(); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (301,48): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) AzureADTenantObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (302,58): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADTenantObj.Members.Add(new
| PSNoteProperty("Category", ObjValues[icount])); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (303,58): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADTenantObj.Members.Add(new
| PSNoteProperty("Value", ObjValues[icount+1])); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (308,27): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) if (((List<Microsoft.Open.AzureAD.Model.VerifiedDomain>)
| AzureADTenant.Members["VerifiedDomains"].Value).Count != 0) ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (310,48): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) VerifiedDomainsList =
| (List<Microsoft.Open.AzureAD.Model.VerifiedDomain>) AzureADTenant.Members["VerifiedDomains"].Value; ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (318,83): error CS0012: The type 'Nullable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
| "VerifiedDomain(" + count + ") - _Default", value._Default, ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (319,82): error CS0012: The type 'Nullable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
| "VerifiedDomain(" + count + ") - Initial", value.Initial, ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (324,56): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) AzureADTenantObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (325,66): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADTenantObj.Members.Add(new
| PSNoteProperty("Category", ObjValues[icount])); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (326,66): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADTenantObj.Members.Add(new
| PSNoteProperty("Value", ObjValues[icount+1])); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (334,27): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) if (((List)
| AzureADTenant.Members["TechnicalNotificationMails"].Value).Count != 0) ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (336,59): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) TechnicalNotificationMailsList = (List)
| AzureADTenant.Members["TechnicalNotificationMails"].Value; ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (357,48): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) AzureADTenantObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (358,58): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADTenantObj.Members.Add(new
| PSNoteProperty("Category", ObjValues[icount])); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (359,58): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADTenantObj.Members.Add(new
| PSNoteProperty("Value", ObjValues[icount+1])); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (364,27): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) if (((List<Microsoft.Open.AzureAD.Model.AssignedPlan>)
| AzureADTenant.Members["AssignedPlans"].Value).Count != 0) ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (366,45): error CS0246: The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) AssignedPlanList =
| (List<Microsoft.Open.AzureAD.Model.AssignedPlan>) AzureADTenant.Members["AssignedPlans"].Value; ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (371,90): error CS0012: The type 'Nullable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
| "AssignedPlan(" + count + ") - AssignedTimestamp", value.AssignedTimestamp, ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (378,56): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) AzureADTenantObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (379,66): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADTenantObj.Members.Add(new
| PSNoteProperty("Category", ObjValues[icount])); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (380,66): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADTenantObj.Members.Add(new
| PSNoteProperty("Value", ObjValues[icount+1])); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (394,48): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) AzureADTenantObj = new PSObject();
| ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (395,58): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADTenantObj.Members.Add(new
| PSNoteProperty("Category", ObjValues[icount])); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (396,58): error CS0246: The type or namespace name 'PSNoteProperty' could not be found (are you missing a using directive or an assembly reference?) AzureADTenantObj.Members.Add(new
| PSNoteProperty("Value", ObjValues[icount+1])); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (405,21): error CS0103: The name 'Console' does not exist in the current context Console.WriteLine("Exception caught: {0}", e); ^

Add-Type: C:\AzureADRecon-master\AzureADRecon-master\AzureADRecon.ps1:3111
Line |
3111 | … Add-Type -TypeDefinition $($AzureADSource) -ReferencedAss …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| (406,32): error CS0246: The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?) return new PSObject[] { };
| ^

[Invoke-AzureADRecon] Cannot add type. Compilation errors occurred.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.