Code Monkey home page Code Monkey logo

azureadrecon's Introduction

ADRecon: Active Directory Recon Follow ADRecon on Twitter

This repo contains updates to the original concept and code by Prashant Mahajan (@prashant3535) while working at Sense of Security.

ADRecon is a tool which extracts and combines various artefacts (as highlighted below) out of an AD environment. The information can be presented in a specially formatted Microsoft Excel report that includes summary views with metrics to facilitate analysis and provide a holistic picture of the current state of the target AD environment.

The tool is useful to various classes of security professionals like auditors, DFIR, students, administrators, etc. It can also be an invaluable post-exploitation tool for a penetration tester.

It can be run from any workstation that is connected to the environment, even hosts that are not domain members. Furthermore, the tool can be executed in the context of a non-privileged (i.e. standard domain user) account. Fine Grained Password Policy, LAPS and BitLocker may require Privileged user accounts. The tool will use Microsoft Remote Server Administration Tools (RSAT) if available, otherwise it will communicate with the Domain Controller using LDAP.

The following information is gathered by the tool:

  • Forest;
  • Domain;
  • Trusts;
  • Sites;
  • Subnets;
  • Schema History;
  • Default and Fine Grained Password Policy (if implemented);
  • Domain Controllers, SMB versions, whether SMB Signing is supported and FSMO roles;
  • Users and their attributes;
  • Service Principal Names (SPNs);
  • Groups, memberships and changes;
  • Organizational Units (OUs);
  • GroupPolicy objects and gPLink details;
  • DNS Zones and Records;
  • Printers;
  • Computers and their attributes;
  • PasswordAttributes (Experimental);
  • LAPS passwords (if implemented);
  • BitLocker Recovery Keys (if implemented);
  • ACLs (DACLs and SACLs) for the Domain, OUs, Root Containers, GPO, Users, Computers and Groups objects (not included in the default collection method);
  • GPOReport (requires RSAT);
  • Kerberoast (not included in the default collection method); and
  • Domain accounts used for service accounts (requires privileged account and not included in the default collection method).

ADRecon was presented at: Black Hat Arsenal Asia 2018 - Slidedeck

Black Hat Arsenal USA 2018 | DEFCON 26 Demolabs - Slidedeck

Bay Area OWASP - Slidedeck

CHCON - Slidedeck

Getting Started

These instructions will get you a copy of the tool up and running on your local machine.

Prerequisites

  • .NET Framework 3.0 or later (Windows 7 includes 3.0)
  • PowerShell 2.0 or later (Windows 7 includes 2.0)
    • Powershell Core on Windows is supported (Tested on PowerShell v7.2.2 running on Windows 10)
  • A Windows host (Powershell for Linux/macOS is not supported)

Optional

Installing

If you have git installed, you can start by cloning the repository:

git clone https://github.com/adrecon/ADRecon.git

Otherwise, you can download a zip archive of the latest release. The intent is to always keep the master branch in a working state.

Usage

Examples

To run ADRecon on a domain member host.

PS C:\> .\ADRecon.ps1

To run ADRecon on a domain member host as a different user.

PS C:\>.\ADRecon.ps1 -DomainController <IP or FQDN> -Credential <domain\username>

To run ADRecon on a non-member host using LDAP.

PS C:\>.\ADRecon.ps1 -Method LDAP -DomainController <IP or FQDN> -Credential <domain\username>

To run ADRecon with specific modules on a non-member host with RSAT. (Default OutputType is STDOUT with -Collect parameter)

PS C:\>.\ADRecon.ps1 -Method ADWS -DomainController <IP or FQDN> -Credential <domain\username> -Collect Domain, DomainControllers

To generate the ADRecon-Report.xlsx based on ADRecon output (CSV Files).

PS C:\>.\ADRecon.ps1 -GenExcel C:\ADRecon-Report-<timestamp>

When you run ADRecon, a ADRecon-Report-<timestamp> folder will be created which will contain ADRecon-Report.xlsx and CSV-Folder with the raw files.

Parameters

-Method <String>
    Which method to use; ADWS (default), LDAP

-DomainController <String>
    Domain Controller IP Address or Domain FQDN.

-Credential <PSCredential>
    Domain Credentials.

-GenExcel <String>
    Path for ADRecon output folder containing the CSV files to generate the ADRecon-Report.xlsx. Use it to generate the ADRecon-Report.xlsx when Microsoft Excel is not installed on the host used to run ADRecon.

-OutputDir <String>
    Path for ADRecon output folder to save the CSV/XML/JSON/HTML files and the ADRecon-Report.xlsx. (The folder specified will be created if it doesn't exist) (Default pwd)

-Collect <String>
    Which modules to run (Comma separated; e.g Forest,Domain. Default all except ACLs, Kerberoast and DomainAccountsusedforServiceLogon)
    Valid values include: Forest, Domain, Trusts, Sites, Subnets, SchemaHistory, PasswordPolicy, FineGrainedPasswordPolicy, DomainControllers, Users, UserSPNs, PasswordAttributes, Groups, GroupChanges, GroupMembers, OUs, ACLs, GPOs, gPLinks, GPOReport, DNSZones, DNSRecords, Printers, Computers, ComputerSPNs, LAPS, BitLocker, Kerberoast DomainAccountsusedforServiceLogon.

-OutputType <String>
    Output Type; Comma seperated; e.g CSV,STDOUT,Excel (Default STDOUT with -Collect parameter, else CSV and Excel).
    Valid values include: STDOUT, CSV, XML, JSON, HTML, Excel, All (excludes STDOUT).

-DormantTimeSpan <Int>
    Timespan for Dormant accounts. (Default 90 days)

-PassMaxAge <Int>
    Maximum machine account password age. (Default 30 days)

-PageSize <Int>
    The PageSize to set for the LDAP searcher object. (Default 200)

-Threads <Int>
    The number of threads to use during processing objects (Default 10)

-OnlyEnabled <Bool>
    Only collect details for enabled objects.

-Log <Switch>
    Create ADRecon Log using Start-Transcript

-Logo <String>
    Which Logo to use in the excel file? (Default ADRecon)
    Values include: ADRecon, CyberCX, Payatu.

Future Plans

  • Replace System.DirectoryServices.DirectorySearch with System.DirectoryServices.Protocols and add support for LDAP STARTTLS and LDAPS (TCP port 636).
  • Add Domain Trust Enumeration.
  • Add option to filter default ACLs.
  • Gather ACLs for other objects such as Users, Group, etc.
  • Additional export and storage option: export to STDOUT, SQLite, xml, json, html, pdf.
  • Use the EPPlus library for Excel Report generation and remove the dependency on MS Excel.
  • List issues identified and provide recommended remediation advice based on analysis of the data.
  • Add PowerShell Core support.

Bugs, Issues and Feature Requests

Please report all bugs, issues and feature requests in the issue tracker. Or let me (@prashant3535) know directly.

Contributing

Pull request are always welcome.

Mad props

Thanks for the awesome work by @_wald0, @CptJesus, @harmj0y, @mattifestation, @PyroTek3, @darkoperator, @ITsecurityAU Team, @CTXIS Team, @CxCyber Team, @payatulabs Team and others.

License

ADRecon is a tool which gathers information about the Active Directory and generates a report which can provide a holistic picture of the current state of the target AD environment.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

This program borrows and uses code from many sources. All attempts are made to credit the original author. If you find that your code is used without proper credit, please shoot an insult to @prashant3535, Thanks.

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

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.

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.

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.