GithubHelp home page GithubHelp logo

microsoft / microsoft365dsc Goto Github PK

View Code? Open in Web Editor NEW
1.4K 77.0 427.0 164.32 MB

Manages, configures, extracts and monitors Microsoft 365 tenant configurations

Home Page: https://aka.ms/M365DSC

License: MIT License

PowerShell 99.73% HTML 0.01% CSS 0.01% TypeScript 0.22% SCSS 0.03%
microsoft365 powershell monitoring desiredstateconfiguration configuration-as-code devops office365 sharepoint onedrive powerplatform

microsoft365dsc's Introduction

Microsoft365DSC

This module allows organizations to automate the deployment, configuration, reporting and monitoring of Microsoft 365 Tenants via PowerShell Desired State Configuration. The compiled configuration needs to be executed from an agent's Local Configuration Manager (LCM) (machine or container) which can communicate back remotely to Microsoft 365 via remote API calls (therefore requires internet connectivity)

For information on how to get started, additional documentation or additional resources, please navigate to the official web site at Microsoft365DSC.com and check out the official YouTube channel Microsoft365DSC.

Roadmap & Backlog

We are using Azure DevOps for project management. You can access our backlog and roadmap by clicking on the status badge below:

Board Status

Branches

master

codecov

This is the branch containing the latest release. No contributions should be made directly to this branch.

dev

Code Coverage

AzureCloud - Full-Circle - EXO

AzureCloud - Full-Circle - O365

AzureCloud - Full-Circle - OD

AzureCloud - Full-Circle - PP

AzureCloud - Full-Circle - SC

AzureCloud - Full-Circle - SPO

AzureCloud - Full-Circle - TEAMS

Global - Integration - AAD

Global - Integration - EXO

Global - Integration - INTUNE

Unit Tests

Contributors are encouraged to propose their contributions as pull requests to this development branch. This branch will periodically be merged to the master branch, and be released to PowerShell Gallery.

How to Install

To acquire the latest bits of the module from a machine that has internet connectivity, run the following PowerShell lines:

Install-Module -Name Microsoft365DSC -Force
Update-M365DSCModule

Telemetry Disclaimer

Microsoft365DSC captures Telemetry data about the names of the resources in which a configuration drift has been detected, along with the type of exceptions being thrown by errors in the various modules. While no sensitive data is ever captured, App Insights, which performs telemetry analytics, captures information about the city where the telemetry entries were captured by default. Users can opt-out to prevent telemetry from being sent back to the Microsoft365DSC team by running the following command:

Set-M365DSCTelemetryOption -Enabled $False

microsoft365dsc's People

Contributors

ahohenschuh avatar andikrueger avatar aslan-im avatar borgquite avatar desmay avatar fabientschanz avatar laskewitz avatar malauter avatar mattckrause avatar menswearuk avatar mibarm avatar mpiederiet avatar nikcharlebois avatar nikcharleboispfe avatar peterabele avatar rickvanrousselt avatar ricmestre avatar robbiddle avatar ruudgijsbers avatar salbeck-sit avatar sandrola avatar santoguapo avatar sebastienlevert avatar serial666 avatar stvnmbr1 avatar swampen avatar thorstenloeschmann avatar timsto avatar william-francillette avatar ykuijs avatar

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  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

microsoft365dsc's Issues

Retrieving Central Admin URL Dynamically Fails

Details of the scenario you tried and the problem that is occurring

With the ReverseDSC Extraction, we build the SharePoint Central Admin URL dynamically by calling into Get-AzureADUser, taking the first user's domain (after @) and formatting it with https://-admin.sharepoint.com. However, we have had cases were the first user returned is the ADFS account, which has a UPN of @Azure.com (I am sure other scenarios will also cause issues). This breaks the extraction for all SPO related components.

We need to find a better way of dynamically retrieving Central Admin Url for a tenant.

Verbose logs showing the problem

N/A

Suggested solution to the issue

N/A

The DSC configuration that is used to reproduce the issue (as detailed as possible)

N/A

The operating system the target node is running

Windows 10

Version of the DSC module that was used ('dev' if using current dev branch)

Alpha

TeamsAppsSetupPolicy

Description

New Resource

Proposed properties

Special considerations or limitations

SPOSite Invalid Error Message

Details of the scenario you tried and the problem that is occurring

When running the configuration below, we get an error thrown:
No/invalid credentials were provided, or another error occurred logging on to SharePointOnline.

However, the error really comes from the fact that the Owner property is missing from the config block.

Verbose logs showing the problem

No/invalid credentials were provided, or another error occurred logging on to SharePointOnline.

Suggested solution to the issue

Improve error handling, and ensure this is catch at compilation time.

The DSC configuration that is used to reproduce the issue (as detailed as possible)

# insert configuration here
```SPOSite ReadySite1
        {
            Title              = "DemoReady"
            Url                = "https://" + $ConfigurationData.NonNodeData.OrganizationName + ".sharepoint.com/sites/Ready1234171"
            CentralAdminUrl    = "https://" + $ConfigurationData.NonNodeData.OrganizationName + "-admin.sharepoint.com"
            Template           = "STS#0"
            Ensure             = "Present"
            GlobalAdminAccount = $GlobalAdmin
        }

#### The operating system the target node is running
N/A

#### Version of the DSC module that was used ('dev' if using current dev branch)
1.0.0.733

SPOApp Fails Without an App Catalog

Details of the scenario you tried and the problem that is occurring

When doing a ReverseDSC Extraction of a tenant without an App Catalog Configured, the extraction will silently abort upon hitting the SPOApp resource (if selected as part of the extraction process). We need a way to gracefully print a warning to the user to let them know that no catalogs have been defined for the tenant, and then move on with the extraction.

Verbose logs showing the problem

Extracting ODSettings...
Extracting SPOApp...
Cancel

Suggested solution to the issue

Handle Error gracefully

The DSC configuration that is used to reproduce the issue (as detailed as possible)

N/A

The operating system the target node is running

N/A

Version of the DSC module that was used ('dev' if using current dev branch)

Alpha

AppVeyor Challenge

Details of the scenario you tried and the problem that is occurring

AppVeyor automatically grabs the SharePoint Online Management Shell msi from the web and installs it on the Build Agent. However, whenever the link changes (new version released) like it happened on January 2nd, then AppVeyor crashes because it gets a 404 trying to download the msi. We need to upload a static version to some stable location.

Verbose logs showing the problem

N/A

Suggested solution to the issue

The DSC configuration that is used to reproduce the issue (as detailed as possible)

N/A

The operating system the target node is running

N/A

Version of SharePoint that is used (e.g. SharePoint 2016)

N/A

Version and build of PowerShell the target node is running

N/A

Version of the DSC module that was used ('dev' if using current dev branch)

N/A

Dynamically Display ReverseDSC Options based on Credentials

Description

Not all tenants support extracting all the components currently listed in the ReverseDSC Graphical User Interface and not all users types are allowed to extract everything. We should update the GUI to start by prompting the users for their credentials first, and then only disply the checkboxes for the items they are authorized to access and extract.

O365Group: Tenant (organization) name is extracted explicitly for Members

Details of the scenario you tried and the problem that is occurring

Extracted users and groups from my O365 tenant. While user configuration is indeed decoupled from the tenant name:
UserPrincipalName = "user1@$($ConfigurationData.NonNodeData.OrganizationName)";
Group memberships contain tenant name explicitly:
Members = @("user1@contoso.com","user2@contoso.com");

Verbose logs showing the problem

N/A

Suggested solution to the issue

Export members with $($ConfigurationData.NonNodeData.OrganizationName) instead of the actual organization name.

The DSC configuration that is used to reproduce the issue (as detailed as possible)

N/A

The operating system the target node is running

OsName : Microsoft Windows Server 2019 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture : 64-bit
WindowsVersion : 1809
WindowsBuildLabEx : 17763.1.amd64fre.rs5_release.180914-1434
OsLanguage : en-US
OsMuiLanguages : {en-US}

Version of the DSC module that was used ('dev' if using current dev branch)

1.0.0.8

TeamsMessagingPolicy

Description

New Resource

Proposed properties

Special considerations or limitations

Check the Ensure ValueMap for all resources

Details of the scenario you tried and the problem that is occurring

Most resources have the Ensure parameter. Some only allow the value Present, but the ValueMap still contains Absent. Should Absent be accepted if the description states that only Present is allowed?

O365Group Keys need to Reflect Identity

Details of the scenario you tried and the problem that is occurring

The O365Group resource currently uses DisplayName as the primary key, however I have recently ran into a scenario where multiple groups have the exact same display name, but different Identity. We should change the Key of the resource to rely on Identity to make sure the group is unique.

Verbose logs showing the problem

N/A

Suggested solution to the issue

Change the Resource's Key to be Identity

The DSC configuration that is used to reproduce the issue (as detailed as possible)

N/A

EXO-AtpPolicyForO365 Issue when not Enabled

Details of the scenario you tried and the problem that is occurring

Running a configuration with EXOAtpPolicyForO365 on a tenant that is not configured for it throws the following error:

The term 'Get-AtpPolicyForO365' is not recognized as the name of a cmdlet

We should either modify this resource to provide additional information to the user on how to configure the tenant properly to enable ATP or create anew resource that will allow the configuration to enable ATP all together.

Verbose logs showing the problem

N/A

Suggested solution to the issue

N/A

The DSC configuration that is used to reproduce the issue (as detailed as possible)

N/A

The operating system the target node is running

N/A

Version of the DSC module that was used ('dev' if using current dev branch)

N/A

Speed up ODSettings

Details of the scenario you tried and the problem that is occurring

ODSettings Set-TargetResource method is extremely slow to complete. Instead of calling the Set-SPOTenant cmdlet multiple times, we should build an hash of parameters to set and only call it once.

Verbose logs showing the problem

N/A

Suggested solution to the issue

Change logic to build a param hash and only call Set-SPOTenant once.

The DSC configuration that is used to reproduce the issue (as detailed as possible)

N/A

The operating system the target node is running

N/A

Version of the DSC module that was used ('dev' if using current dev branch)

Alpha

Remove CentralAdminUrl as a parameter from all SPOx Resources

We are now determining the CentralAdminUrl for the ReverseDSC path using the GlobalAdminAccount credentials. Since this is already a required parameter for all SPOx resources, we should be able to dynamically determine that URL and therefore no longer require CentralAdminUrl as a parameter.

SPOSettings: New resource to manage SPO settings

Description

Add a new resource to manage settings for SharePoint Online

Proposed properties

All properties in Get-SPOTenant that are not OneDrive related.

Special considerations or limitations

Could not load type Microsoft.SharePoint.Administration.DesignPackageType

Details of the scenario you tried and the problem that is occurring

Getting the following error when trying to load the module with Import-Module Office365DSC -Verbose. This is due to multiple versions of the Microsoft.Online.SharePoint.PowerShell modules installed side-by-side.
VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\Office365DSC\1.0.0\Office365DSC.psd1'.
Import-Module : Could not load type 'Microsoft.SharePoint.Administration.DesignPackageType' from assembly
'Microsoft.SharePoint.Client, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.

Verbose logs showing the problem

VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\Office365DSC\1.0.0\Office365DSC.psd1'.
Import-Module : Could not load type 'Microsoft.SharePoint.Administration.DesignPackageType' from assembly
'Microsoft.SharePoint.Client, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.

Suggested solution to the issue

The DSC configuration that is used to reproduce the issue (as detailed as possible)

# insert configuration here

The operating system the target node is running

Version of the DSC module that was used ('dev' if using current dev branch)

Replace the Use of MSOL by Azure AD

The Office365DC module makes use of the MSOL module to create Users and Security Groups. The new recommended approach is to use Azure AD. We need to change references to MSOL to Azure AD in the Util module, the O365User and O365Group Resources.

Suggestion: Silent Install of SharePoint Online Management Shell

The Office365DSC module is dependent on the Microsoft.Online.SharePoint.PowerShell module, however this module isn't enough to interact with SPO. The machine need the SharePoint Online Management Shell installed. We circumvented this issue in AppVeyor by executing a script that downloads the .msi installer and does a silent install. I am wondering now if we should add a check to the module to do the same thing if it is not present on the agent running the DSC? Our vision is that on a brand new machine, the mere fact of running Install-Module Office365DSC should allow the agent to execute a DSC script without having to do any additional manual intervention.

We would need to consider this in a server-less LCM approach as well.

SPOHubSite Get-TargetResource Issues when No Emails Assigned to Group

Details of the scenario you tried and the problem that is occurring

I am faced with a situation where the Hub Site Principals are groups, but they don't have any emails assigned. We need to figure out how to better handle these scenarios.

Verbose logs showing the problem

N/A

Suggested solution to the issue

The DSC configuration that is used to reproduce the issue (as detailed as possible)

N/A

The operating system the target node is running

N/A

Version of the DSC module that was used ('dev' if using current dev branch)

Alpha

Message Center Settings

Description

Suggestion from the community: Add a Message Center resource to manage settings such as enforcing that the message center has no unread message, etc.

Proposed properties

N/A

Special considerations or limitations

May be clashing with other resources definition as the Set-TargetResource would not actually do anything since we can't create messages in the Message Center via APIs.

Exceeded max number of connections. Waiting 60 seconds

Hi, while running the Export-O365Configuration I get this:
Every 60 Seconds the same warning appear and it doesn't seem to go through.

Extracting EXOSharedMailbox...
WARNING: Exceeded max number of connections. Waiting 60 seconds
WARNING: Exceeded max number of connections. Waiting 60 seconds
WARNING: Exceeded max number of connections. Waiting 60 seconds
WARNING: Exceeded max number of connections. Waiting 60 seconds

Thanks

TeamsOrgWideSettings

Description

New resource to manage Org-Wide settings in Teams

Proposed properties

AllowSkypeForBusinessCommunication
AllowSkypeCommunication
AllowGuestAccess
AllowSendEmailToChannel
FileSharingServices @()
ShowOrganizationTabInChat
SecondaryAuthentication
ContentPIN
ResourcesAccountsCanSendMessage
AllowScopeDirectorySearch
UpgradeCoexistenceMode
NotifySkypeForBusinessUsersOfUpgrade
AppPreference
DownloadInBackgroundForSkype

Special considerations or limitations

N/A

TeamsMeetingSettings

Description

New Resource

Proposed properties

IsSingleInstance

Special considerations or limitations

Need to Build a Robust Logging Engine

Description

We need to ensure that the Extraction component (ReverseDSC) never stops whenever there are errors detected. We do need however to capture all of these errors, in a very structured way. Potential known errors should have an Error Code, and Stack Trace should be captured as much as possible. Upon finalizing the extraction, the error log should be stored wherever the client decides to store the extraction results and the client should be warned in the console that errors where encountered during the extraction.

We need to make the troubelshooting process as smooth as possible. A client does an extraction, something goes wrong, they get notified and they have a log file they can send us for further troubleshooting.

TeamsMeetingPolicy

Description

New Resource

Proposed properties

Special considerations or limitations

Azure DevOPS: Unit Test Pipeline not failing upon failed tests

The Unit Test pipeline is not failing when a Unit test does. That is most likely due to the Pester's output not actually throwing a PoSh error. We should modify the Pipeline's Task to analyze the Pester's output and force a throw exception if any test fails.

Get-TeamsMessagingSettings is not reconized

Details of the scenario you tried and the problem that is occurring

Just install Office365DSC today and import-module Office365DSC run Export-O365Configuration unselect all and select only SharePoint and start Extraction

Verbose logs showing the problem

PS C:\office365dsc> Export-O365Configuration
Extracting O365AdminAuditLogConfig...
Extracting O365Group...
Office365 Group {Cinema}
Extracting O365User...
User {[email protected]}
User {[email protected]}
User {[email protected]}
Extracting SPOSearchResultSource...
Extracting SPOSearchManagedProperty...
Extracting SPOSiteDesignRights...
Extracting SPOSite...
Site Collection {https://TenantID.sharepoint.com/}
Site Collection {https://TenantID.sharepoint.com/search}
Site Collection {https://TenantID-my.sharepoint.com/}
Site Collection {https://TenantID.sharepoint.com/portals/hub}
Site Collection {https://TenantID.sharepoint.com/sites/Cinema}
Extracting TeamsMessageSettings...
Team Member Settings for Team {Cinema}

At this stage a popup "Microsfot.NET Framework" arrives with error just click to Continue that cancel this operation 

See the end of this message for details on invoking 

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Management.Automation.CmdletInvocationException: The term 'Get-TeamMessagingSettings' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. ---> System.Management.Automation.CommandNotFoundException: The term 'Get-TeamMessagingSettings' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0) at System.Management.Automation.PSScriptCmdlet.RunClause(Action1 clause, Object dollarUnderbar, Object inputToProcess)
at System.Management.Automation.PSScriptCmdlet.DoEndProcessing()
at System.Management.Automation.CommandProcessorBase.Complete()
--- End of inner exception stack trace ---
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0) at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary2 functionsToDefine, List1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args) at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0() at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action) at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
at System.Management.Automation.ScriptBlock.InvokeAsDelegateHelper(Object dollarUnder, Object dollarThis, Object[] args)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3394.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

Microsoft.PowerShell.ConsoleHost
Assembly Version: 3.0.0.0
Win32 Version: 10.0.17134.48
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.ConsoleHost/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.ConsoleHost.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Management.Automation
Assembly Version: 3.0.0.0
Win32 Version: 10.0.17134.590
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management.Automation/v4.0_3.0.0.0__31bf3856ad364e35/System.Management.Automation.dll

Microsoft.Management.Infrastructure
Assembly Version: 1.0.0.0
Win32 Version: 10.0.17134.1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Management.Infrastructure/v4.0_1.0.0.0__31bf3856ad364e35/Microsoft.Management.Infrastructure.dll

System.Management
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll

System.DirectoryServices
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.DirectoryServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.7.3394.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

Microsoft.PowerShell.Security
Assembly Version: 3.0.0.0
Win32 Version: 10.0.17134.1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Security/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Security.dll

System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

Microsoft.Powershell.PSReadline
Assembly Version: 3.0.0.0
Win32 Version: 10.0.17134.1
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/PSReadline/1.2/Microsoft.PowerShell.PSReadLine.dll

Microsoft.CSharp
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll

Microsoft.PowerShell.Commands.Utility
Assembly Version: 3.0.0.0
Win32 Version: 10.0.17134.1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Utility/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Commands.Utility.dll

System.Configuration.Install
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration.Install/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.Install.dll

Microsoft.PowerShell.Commands.Management
Assembly Version: 3.0.0.0
Win32 Version: 10.0.17134.1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Management/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Commands.Management.dll

Microsoft.PackageManagement
Assembly Version: 3.0.0.1
Win32 Version: 3.0.0.1
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/PackageManagement/1.3.1/fullclr/Microsoft.PackageManagement.dll

Microsoft.PowerShell.PackageManagement
Assembly Version: 3.0.0.0
Win32 Version: 3.0.0.0
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/PackageManagement/1.3.1/fullclr/Microsoft.PowerShell.PackageManagement.dll

zf3p1tkl
Assembly Version: 0.0.0.0
Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

3ehqe0bv
Assembly Version: 0.0.0.0
Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

pn3b4swk
Assembly Version: 0.0.0.0
Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

Microsoft.PackageManagement.MsiProvider
Assembly Version: 3.0.0.0
Win32 Version: 3.0.0.0
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/PackageManagement/1.3.1/fullclr/Microsoft.PackageManagement.MsiProvider.dll

Microsoft.PackageManagement.MsuProvider
Assembly Version: 3.0.0.0
Win32 Version: 3.0.0.0
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/PackageManagement/1.3.1/fullclr/Microsoft.PackageManagement.MsuProvider.dll

Microsoft.PackageManagement.NuGetProvider
Assembly Version: 3.0.0.2
Win32 Version: 3.0.0.2
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/PackageManagement/1.3.1/fullclr/Microsoft.PackageManagement.NuGetProvider.dll

Microsoft.PackageManagement.ArchiverProviders
Assembly Version: 3.0.0.0
Win32 Version: 3.0.0.0
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/PackageManagement/1.3.1/fullclr/Microsoft.PackageManagement.ArchiverProviders.dll

Microsoft.PackageManagement.CoreProviders
Assembly Version: 3.0.0.0
Win32 Version: 3.0.0.0
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/PackageManagement/1.3.1/fullclr/Microsoft.PackageManagement.CoreProviders.dll

Microsoft.PackageManagement.MetaProvider.PowerShell
Assembly Version: 3.0.0.0
Win32 Version: 3.0.0.0
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/PackageManagement/1.3.1/fullclr/Microsoft.PackageManagement.MetaProvider.PowerShell.dll

System.Net.Http
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll

Microsoft.PowerShell.Commands.Diagnostics
Assembly Version: 3.0.0.0
Win32 Version: 10.0.17134.1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Diagnostics/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Commands.Diagnostics.dll

DynamicClasses
Assembly Version: 0.0.0.0
Win32 Version: 3.0.0.1
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/PackageManagement/1.3.1/fullclr/Microsoft.PackageManagement.dll

Microsoft.WSMan.Management
Assembly Version: 3.0.0.0
Win32 Version: 10.0.17134.619
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.WSMan.Management/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.WSMan.Management.dll

PSEventHandler
Assembly Version: 0.0.0.0
Win32 Version: 10.0.17134.590
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management.Automation/v4.0_3.0.0.0__31bf3856ad364e35/System.Management.Automation.dll

System.IO.Compression.FileSystem
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IO.Compression.FileSystem/v4.0_4.0.0.0__b77a5c561934e089/System.IO.Compression.FileSystem.dll

System.IO.Compression
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IO.Compression/v4.0_4.0.0.0__b77a5c561934e089/System.IO.Compression.dll

Microsoft.CertificateServices.PKIClient.Cmdlets
Assembly Version: 10.0.0.0
Win32 Version: 10.0.17134.1 (WinBuild.160101.0800)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/Microsoft.CertificateServices.PKIClient.Cmdlets/v4.0_10.0.0.0__31bf3856ad364e35/Microsoft.CertificateServices.PKIClient.Cmdlets.dll

Microsoft.Online.Administration.Automation.PSModule
Assembly Version: 1.1.0.0
Win32 Version: 1.1.183.17
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/MSOnline/1.1.183.17/Microsoft.Online.Administration.Automation.PSModule.dll

Microsoft.Azure.ActiveDirectory.Client.Framework
Assembly Version: 1.1.0.0
Win32 Version: 1.1.183.17
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/MSOnline/1.1.183.17/Microsoft.Azure.ActiveDirectory.Client.Framework.dll

Microsoft.Online.Identity.Federation.PowerShell
Assembly Version: 1.1.0.0
Win32 Version: 1.1.183.17
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/MSOnline/1.1.183.17/Microsoft.Online.Identity.Federation.PowerShell.dll

Microsoft.IdentityModel.Clients.ActiveDirectory
Assembly Version: 3.19.6.14301
Win32 Version: 3.19.50523.1839
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/MSOnline/1.1.183.17/Microsoft.IdentityModel.Clients.ActiveDirectory.dll

Microsoft.IdentityModel.Clients.ActiveDirectory.Platform
Assembly Version: 3.19.6.14301
Win32 Version: 3.19.50523.1839
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/MSOnline/1.1.183.17/Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll

Microsoft.Azure.ActiveDirectory.GraphClient
Assembly Version: 2.1.1.0
Win32 Version: 2.1.1
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/MSOnline/1.1.183.17/Microsoft.Azure.ActiveDirectory.GraphClient.dll

Microsoft.Data.Services.Client
Assembly Version: 5.7.0.0
Win32 Version: 5.7.0.62414
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/MSOnline/1.1.183.17/Microsoft.Data.Services.Client.dll

Microsoft.Data.OData
Assembly Version: 5.7.0.0
Win32 Version: 5.7.0.62414
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/MSOnline/1.1.183.17/Microsoft.Data.OData.dll

Microsoft.Data.Edm
Assembly Version: 5.7.0.0
Win32 Version: 5.7.0.62414
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/MSOnline/1.1.183.17/Microsoft.Data.Edm.dll

System.Spatial
Assembly Version: 5.7.0.0
Win32 Version: 5.7.0.62414
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/MSOnline/1.1.183.17/System.Spatial.dll

Newtonsoft.Json
Assembly Version: 6.0.0.0
Win32 Version: 6.0.3.17227
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/MSOnline/1.1.183.17/Newtonsoft.Json.dll

RestSharp
Assembly Version: 105.2.3.0
Win32 Version: 105.2.3.0
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/MSOnline/1.1.183.17/RestSharp.dll

Microsoft.Online.Administration.Automation.PSModule.Resources
Assembly Version: 1.1.0.0
Win32 Version: 1.1.183.17
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/MSOnline/1.1.183.17/Microsoft.Online.Administration.Automation.PSModule.Resources.dll

System.ServiceModel
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll

System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

Microsoft.Online.SharePoint.PowerShell
Assembly Version: 16.0.0.0
Win32 Version: 16.0.8715.1200
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/Microsoft.Online.SharePoint.PowerShell/16.0.8715.1200/Microsoft.Online.SharePoint.PowerShell.dll

Microsoft.SharePoint.Client
Assembly Version: 16.0.0.0
Win32 Version: 16.0.8715.1200
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/Microsoft.Online.SharePoint.PowerShell/16.0.8715.1200/Microsoft.SharePoint.Client.DLL

Microsoft.SharePoint.Client.Runtime
Assembly Version: 16.0.0.0
Win32 Version: 16.0.8715.1200
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/Microsoft.Online.SharePoint.PowerShell/16.0.8715.1200/Microsoft.SharePoint.Client.Runtime.DLL

Microsoft.Online.SharePoint.Client.Tenant
Assembly Version: 16.0.0.0
Win32 Version: 16.0.8715.1200
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/Microsoft.Online.SharePoint.PowerShell/16.0.8715.1200/Microsoft.Online.SharePoint.Client.Tenant.DLL

Microsoft.Online.SharePoint.Migration
Assembly Version: 16.0.0.0
Win32 Version: 16.0.8715.1200
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/Microsoft.Online.SharePoint.PowerShell/16.0.8715.1200/Microsoft.Online.SharePoint.Migration.DLL

SharePointPnP.PowerShell.Online.Commands
Assembly Version: 3.8.1904.0
Win32 Version: 3.8.1904.0
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/SharePointPnPPowerShellOnline/3.8.1904.0/SharePointPnP.PowerShell.Online.Commands.dll

Microsoft.Online.SharePoint.Client.Tenant
Assembly Version: 16.1.0.0
Win32 Version: 16.1.8715.1200
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/SharePointPnPPowerShellOnline/3.8.1904.0/Microsoft.Online.SharePoint.Client.Tenant.DLL

Microsoft.SharePoint.Client.Runtime
Assembly Version: 16.1.0.0
Win32 Version: 16.1.8715.1200
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/SharePointPnPPowerShellOnline/3.8.1904.0/Microsoft.SharePoint.Client.Runtime.DLL

OfficeDevPnP.Core
Assembly Version: 3.8.1904.0
Win32 Version: 3.8.1904.0
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/SharePointPnPPowerShellOnline/3.8.1904.0/OfficeDevPnP.Core.DLL

Microsoft.SharePoint.Client
Assembly Version: 16.1.0.0
Win32 Version: 16.1.8715.1200
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/SharePointPnPPowerShellOnline/3.8.1904.0/Microsoft.SharePoint.Client.DLL

Microsoft.SharePoint.Client.Taxonomy
Assembly Version: 16.1.0.0
Win32 Version: 16.1.8715.1200
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/SharePointPnPPowerShellOnline/3.8.1904.0/Microsoft.SharePoint.Client.Taxonomy.DLL

Microsoft.SharePoint.Client.DocumentManagement
Assembly Version: 16.1.0.0
Win32 Version: 16.1.8715.1200
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/SharePointPnPPowerShellOnline/3.8.1904.0/Microsoft.SharePoint.Client.DocumentManagement.DLL

SharePointPnP.PowerShell.CmdletHelpAttributes
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/SharePointPnPPowerShellOnline/3.8.1904.0/SharePointPnP.PowerShell.CmdletHelpAttributes.DLL

Microsoft.Open.Teams.CommonLibrary
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/MicrosoftTeams/1.0.0/Microsoft.Open.Teams.CommonLibrary.dll

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

Microsoft.TeamsCmdlets.PowerShell.Custom
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/MicrosoftTeams/1.0.0/Microsoft.TeamsCmdlets.PowerShell.Custom.dll

Microsoft.Open.Azure.AD.CommonLibrary
Assembly Version: 2.0.0.0
Win32 Version: 2.0.2.4
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/AzureAD/2.0.2.4/Microsoft.Open.Azure.AD.CommonLibrary.dll

Microsoft.Open.AzureAD16.Graph.PowerShell.Custom
Assembly Version: 2.0.0.0
Win32 Version: 2.0.2.4
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/AzureAD/2.0.2.4/Microsoft.Open.AzureAD16.Graph.PowerShell.Custom.dll

Microsoft.Open.AzureAD16.Graph.Client
Assembly Version: 2.0.0.0
Win32 Version: 2.0.2.4
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/AzureAD/2.0.2.4/Microsoft.Open.AzureAD16.Graph.Client.dll

System.ComponentModel.DataAnnotations
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll

Microsoft.Open.MS.GraphV10.PowerShell
Assembly Version: 2.0.0.0
Win32 Version: 2.0.2.4
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/AzureAD/2.0.2.4/Microsoft.Open.MS.GraphV10.PowerShell.dll

Microsoft.Open.MS.GraphV10.PowerShell.Custom
Assembly Version: 2.0.0.0
Win32 Version: 2.0.2.4
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/AzureAD/2.0.2.4/Microsoft.Open.MS.GraphV10.PowerShell.Custom.dll

Microsoft.Open.MS.GraphV10.Client
Assembly Version: 2.0.0.0
Win32 Version: 2.0.2.4
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/AzureAD/2.0.2.4/Microsoft.Open.MS.GraphV10.Client.DLL

Microsoft.Open.AzureAD16.Graph.PowerShell
Assembly Version: 2.0.0.0
Win32 Version: 2.0.2.4
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/AzureAD/2.0.2.4/Microsoft.Open.AzureAD16.Graph.PowerShell.dll

Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

Microsoft.Open.Azure.AD.CommonLibrary.Resources
Assembly Version: 2.0.0.0
Win32 Version: 2.0.2.4
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/AzureAD/2.0.2.4/Microsoft.Open.Azure.AD.CommonLibrary.Resources.DLL

Microsoft.IdentityModel.Clients.ActiveDirectory
Assembly Version: 3.19.7.16602
Win32 Version: 3.19.50615.2102
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/AzureAD/2.0.2.4/Microsoft.IdentityModel.Clients.ActiveDirectory.DLL

Microsoft.Open.Azure.AD.CommonLibrary.Resources.resources
Assembly Version: 2.0.0.0
Win32 Version: 2.0.2.4
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/AzureAD/2.0.2.4/fr/Microsoft.Open.Azure.AD.CommonLibrary.Resources.resources.DLL

SMDiagnostics
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll

System.ServiceModel.Internals
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll

System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3282.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

Microsoft.IdentityModel.Clients.ActiveDirectory
Assembly Version: 4.5.0.0
Win32 Version: 4.5.0.0
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/MicrosoftTeams/1.0.0/Microsoft.IdentityModel.Clients.ActiveDirectory.DLL

System.Net.Http.WebRequest
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http.WebRequest/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.WebRequest.dll

Microsoft.PowerShell.Cmdletization.GeneratedTypes
Assembly Version: 0.0.0.0
Win32 Version: 10.0.17134.590
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management.Automation/v4.0_3.0.0.0__31bf3856ad364e35/System.Management.Automation.dll

⧹C։⧹Windows⧹system32⧹WindowsPowerShell⧹v1.0⧹Modules⧹NetTCPIP⧹NetIPConfiguration.psm1
Assembly Version: 0.0.0.0
Win32 Version: 10.0.17134.590
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management.Automation/v4.0_3.0.0.0__31bf3856ad364e35/System.Management.Automation.dll

⧹C։⧹Windows⧹system32⧹WindowsPowerShell⧹v1.0⧹Modules⧹NetTCPIP⧹Test-NetConnection.psm1
Assembly Version: 0.0.0.0
Win32 Version: 10.0.17134.590
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management.Automation/v4.0_3.0.0.0__31bf3856ad364e35/System.Management.Automation.dll

Microsoft.Management.Infrastructure.Native
Assembly Version: 1.0.0.0
Win32 Version: 10.0.17134.1 (WinBuild.160101.0800)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/Microsoft.Management.Infrastructure.Native/v4.0_1.0.0.0__31bf3856ad364e35/Microsoft.Management.Infrastructure.Native.dll

Microsoft.Management.Infrastructure.UserFilteredExceptionHandling
Assembly Version: 0.0.0.0
Win32 Version: 10.0.17134.1 (WinBuild.160101.0800)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/Microsoft.Management.Infrastructure.Native/v4.0_1.0.0.0__31bf3856ad364e35/Microsoft.Management.Infrastructure.Native.dll

System.Dynamic
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll

System.IdentityModel
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.dll

System.Runtime
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll

Microsoft.Online.SharePoint.PowerShell.ResourceManager
Assembly Version: 16.0.0.0
Win32 Version: 16.0.8715.1200
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/Microsoft.Online.SharePoint.PowerShell/16.0.8715.1200/Microsoft.Online.SharePoint.PowerShell.ResourceManager.DLL

System.Resources.ResourceManager
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Resources.ResourceManager/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Resources.ResourceManager.dll

System.Xaml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll

System.IdentityModel.Tokens.Jwt
Assembly Version: 5.2.4.0
Win32 Version: 5.2.4.50619
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/SharePointPnPPowerShellOnline/3.8.1904.0/System.IdentityModel.Tokens.Jwt.DLL

Microsoft.IdentityModel.Tokens
Assembly Version: 5.2.4.0
Win32 Version: 5.2.4.50619
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/SharePointPnPPowerShellOnline/3.8.1904.0/Microsoft.IdentityModel.Tokens.DLL

Microsoft.Identity.Client
Assembly Version: 1.0.0.0
Win32 Version: 1.0.30414.2221
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/SharePointPnPPowerShellOnline/3.8.1904.0/Microsoft.Identity.Client.DLL

System.Runtime.InteropServices
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.InteropServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.InteropServices.dll

Microsoft.ApplicationInsights
Assembly Version: 2.8.1.0
Win32 Version: 2.8.1.22898
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/SharePointPnPPowerShellOnline/3.8.1904.0/Microsoft.ApplicationInsights.DLL

System.Diagnostics.DiagnosticSource
Assembly Version: 4.0.3.0
Win32 Version: 4.6.26515.06
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/SharePointPnPPowerShellOnline/3.8.1904.0/System.Diagnostics.DiagnosticSource.DLL

Microsoft.SharePoint.Client.Search
Assembly Version: 16.1.0.0
Win32 Version: 16.1.8715.1200
CodeBase: file:///C:/Program%20Files/WindowsPowerShell/Modules/SharePointPnPPowerShellOnline/3.8.1904.0/Microsoft.SharePoint.Client.Search.DLL

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Suggested solution to the issue

The DSC configuration that is used to reproduce the issue (as detailed as possible)

# insert configuration here
``

#### The operating system the target node is running
<!--
    Please provide as much as possible about the target node, for example
    edition, version, build and language.
    On OS with WMF 5.1 the following command can help get this information.

    Get-ComputerInfo -Property @(
        'OsName',
        'OsOperatingSystemSKU',
        'OSArchitecture',
        'WindowsVersion',
        'WindowsBuildLabEx',
        'OsLanguage',
        'OsMuiLanguages')
-->

OsName               :
OsOperatingSystemSKU :
OsArchitecture       :
WindowsVersion       : 1803
WindowsBuildLabEx    : 17134.1.amd64fre.rs4_release.180410-1804
OsLanguage           :
OsMuiLanguages       :


#### Version of the DSC module that was used ('dev' if using current dev branch)

Azure DevOPS Unit Tests not failing is Tests are not Successful

Currently, the testing process executes the Pester Unit tests in two locations: Azure DevOPS and AppVeyor. If one of the Unit test fails, only AppVeyor returns the error. The Azure DevOPS displays the error in the logs, but still shows the Build as being successful. That happens even when the failOnStderr is set.

We need to look at options to have the Pester tests ran successfully in Azure DevOPS.

Value cannot be null. Parameter name: value

Hi I'm having the following error with 1.0.0.744

PS C:\WINDOWS\system32> Install-Module Office365DSC -RequiredVersion 1.0.0.744 -force
PS C:\WINDOWS\system32> Import-Module Office365DSC -RequiredVersion 1.0.0.744 -Force
.
PS C:\WINDOWS\system32> Export-O365Configuration

  • Prompting for credentials with MFA for AzureAD
    Extracting SPOApp...
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Argum
    entNullException: Value cannot be null.
    Parameter name: value
    at Newtonsoft.Json.Linq.Extensions.Value[T,U](IEnumerable1 value) at OfficeDevPnP.Core.AuthenticationManager.<AcquireTokenAsync>d__31.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OfficeDevPnP.Core.AuthenticationManager.EnsureAzureADCredentialsToken(String resourceUri, String userPrincipalName , String userPassword) at OfficeDevPnP.Core.AuthenticationManager.<>c__DisplayClass30_0.<GetAzureADCredentialsContext>b__0(Object sender, We bRequestEventArgs args) at Microsoft.SharePoint.Client.ClientRuntimeContext.OnExecutingWebRequest(WebRequestEventArgs args) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters , CultureInfo culture) at OfficeDevPnP.Core.PnPClientContext.<>c__DisplayClass12_0.<ConvertFrom>b__0(Object oSender, WebRequestEventArgs web RequestEventArgs) at System.EventHandler1.Invoke(Object sender, TEventArgs e)
    at Microsoft.SharePoint.Client.ClientRuntimeContext.OnExecutingWebRequest(WebRequestEventArgs args)
    at Microsoft.SharePoint.Client.ClientContext.GetWebRequestExecutor()
    at Microsoft.SharePoint.Client.ClientContext.d__b.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.SharePoint.Client.ClientContext.d__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.SharePoint.Client.ClientContext.d__4.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.SharePoint.Client.ClientContextExtensions.d__7.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryRetry(ClientRuntimeContext clientContext, Int32 re
    tryCount, Int32 delay, String userAgent)
    at SharePointPnP.PowerShell.Commands.Base.SPOnlineConnectionHelper.InstantiateSPOnlineConnection(Uri url, PSCredentia
    l credentials, PSHost host, Boolean currentCredentials, Int32 minimalHealthScore, Int32 retryCount, Int32 retryWait, Int
    32 requestTimeout, String tenantAdminUrl, Boolean disableTelemetry, Boolean skipAdminCheck, ClientAuthenticationMode aut
    henticationMode)
    at SharePointPnP.PowerShell.Commands.Base.ConnectOnline.ProcessRecord()
    at System.Management.Automation.CommandProcessor.ProcessRecord()

O365OrgCustomizationSettings

Description

When trying to configure Security and Compliance components for the first time on certain tenants, you will get the following error back:

The command you tried to run isn't currently allowed in your organization. To run this command, you first need to run the command: Enable-OrganizationCustomization. + CategoryInfo : NotSpecified: (Microsoft.Excha...AntiPhishPolicy:) [], CimExce ption + FullyQualifiedErrorId : [Server=YQBPR0101MB0851,RequestId=4feee150-d5e9-4d98-aaa2-c8e4 33c8bb8b,TimeStamp=7/5/2019 1:01:17 PM] [FailureCategory=Cmdlet-InvalidOperationInDehydr atedContextException] FDC3D516,Microsoft.Exchange.Management.SystemConfigurationTasks.Ne wAntiPhishPolicy + PSComputerName : Localhost

It would be useful to have a resource to handle the enabling of OrganizationCustomization, which would run Enable-OrganizationCustomization in the background.

Proposed properties

  • IsSingleInstance
  • Enabled [$true|$false]

Special considerations or limitations

There doesn't seem to be the equivalent Disable cmdlet, therefore we may want to prevent Enabled = $false

TeamsLiveEventsSettings

Description

New Resource

Proposed properties

  • IsSingleInstance

Special considerations or limitations

SPOHubSite: Resource to manage Hub sites

Description

A new resource with which you can configure and manage Hub sites

Proposed properties

SPOHubSite ff4a977d-4d7d-4968-9238-2a1702aa699c
{
    Url                  = "https://office365dsc.sharepoint.com/sites/Marketing"
    Title                = "Marketing Hub"
    Description          = "Hub for the Marketing division"
    LogoUrl              = "https://office365dsc.sharepoint.com/sites/Marketing/SiteAssets/hublogo.png"
    RequiresJoinApproval = $true
    AllowedToJoin        = @("[email protected]","[email protected]")
    SiteDesignId         = "f7eba920-9cca-4de8-b5aa-1da75a2a893c"
    Ensure               = "Present"
    CentralAdminUrl      = "https://office365dsc-admin.sharepoint.com"
    GlobalAdminAccount   = $credsGlobalAdmin
}

Special considerations or limitations

N/A

URL null Extracting SPOApp

Hi I'm having issues with Extracting SPOApp using the version 1.0.0.773 of the module.

Extracting SPOApp...
System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Url' because it is
null.
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exc
eption)
at System.Management.Automation.Interpreter.ActionCallInstruction2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0) at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean crea teLocalScope, Dictionary2 functionsToDefine, List1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Obj ect dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args) at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0() at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action) at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandling Behavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean p ropagateAllExceptionsToTop, List1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandl
ingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()

Conflict with AzureADPreview

Details of the scenario you tried and the problem that is occurring

Trying to install the Office365DSC module is AzureADPreview is present or trying to installe the AzureAD module once the Office365DSC module is present will throw an error complaining about duplicate cmdlets.

Verbose logs showing the problem

PackageManagement\Install-Package : The following commands are already available on this sys
tem:'Get-AzureADApplicationProxyConnectorGroupMembers,Add-AzureADApplicationOwner,Add-AzureA
DDeviceRegisteredOwner,Add-AzureADDeviceRegisteredUser,Add-AzureADDirectoryRoleMember,Add-Az
ureADGroupMember,Add-AzureADGroupOwner,Add-AzureADMSLifecyclePolicyGroup,Add-AzureADServiceP
rincipalOwner,Confirm-AzureADDomain,Connect-AzureAD,Disconnect-AzureAD,Enable-AzureADDirect [...]

Suggested solution to the issue

Add logic to do a graceful check for duplicate methods or known conflicting modules.

The DSC configuration that is used to reproduce the issue (as detailed as possible)

N/A

The operating system the target node is running

Win Server 2019

TeamsChannel Timing Issues

Details of the scenario you tried and the problem that is occurring

If in the same config, you create a Team and then try to add a channel to it, the TeamsChannel resource fails and complains that the team doesn't exist. It seems to be a timing issue because if you re-run the same config a few seconds later then everything works fine.

Verbose logs showing the problem

PowerShell DSC resource MSFT_TeamsChannel failed to execute Test-TargetResource functionality with error message: Team with Name Collab Summit
doesnt exist in tenant

Suggested solution to the issue

Add a few retries in the TeamsChannel resource whenever the Teams is not found. Maybe just 6 times 5 seconds.

The DSC configuration that is used to reproduce the issue (as detailed as possible)

TeamsTeam CollabSummit
        {
            DisplayName        = "Collab Summit"
            Description        = "This is me demoing the Teams Resource"
            GlobalAdminAccount = $GlobalAdmin
            Ensure             = "Present"
        }

        TeamsChannel DSCChannel
        {
            TeamName           = "Collab Summit"
            DisplayName        = "DSC Discussions"
            GlobalAdminAccount = $GlobalAdmin
            Ensure             = "Present"
        }

The operating system the target node is running

NA

O365Group Cannot export office groups

When I am running export on one of our tenants, I cant get export of office groups to work. All other options work, but this one doesnt. Extracting failes without any exception. On other tenant this works just fine. Screenshots of selected options and from console:
1
2

SCSensitivityLabel

SCC sensitivity labels

Description

Resource for the following Get-Label, New-Label, Set-Label and Remove-Label

Proposed properties

Special considerations or limitations

Change Test-PnPOnlineConnection parameter

Description

The Test-PnPOnlineConnection has parameter called -SPOCentralAdminUrl

Proposed properties

Rename SPOCentralAdminUrl to SPOSiteUrl. Some of the PNP cmdlets are scoped to site level so the connection doesn't always have to be tenant admin url

Special considerations or limitations

TeamsChannel Throw error if Channel used to exist

Details of the scenario you tried and the problem that is occurring

1 - Create a new TeamsChannel using O365DSC;

2 - Manually delete that channel from the Web interface;

3 - Re-run the DSC in an attempt to recreate the teams. You will get error:
Error occurred while executing
Code: NameAlreadyExists
Message: Channel name already existed, please use other nameFailed to execute Skype backend request
CreateThreadRequest.
InnerError:
RequestId: 477ee23b-6da7-43d0-8708-d98a5ca32bb3
DateTimeStamp: 2019-05-23T16:21:18
HttpStatusCode: NameAlreadyExists
+ CategoryInfo : NotSpecified: (:) [], CimException
+ FullyQualifiedErrorId : Microsoft.TeamsCmdlets.PowerShell.Custom.ErrorHandling.ApiException,Microsoft.TeamsCmdle
ts.PowerShell.Custom.NewTeamChannel
+ PSComputerName : localhost

Verbose logs showing the problem

Error occurred while executing
Code: NameAlreadyExists
Message: Channel name already existed, please use other nameFailed to execute Skype backend request
CreateThreadRequest.
InnerError:
RequestId: 477ee23b-6da7-43d0-8708-d98a5ca32bb3
DateTimeStamp: 2019-05-23T16:21:18
HttpStatusCode: NameAlreadyExists
+ CategoryInfo : NotSpecified: (:) [], CimException
+ FullyQualifiedErrorId : Microsoft.TeamsCmdlets.PowerShell.Custom.ErrorHandling.ApiException,Microsoft.TeamsCmdle
ts.PowerShell.Custom.NewTeamChannel
+ PSComputerName : localhost

Suggested solution to the issue

N/A

The DSC configuration that is used to reproduce the issue (as detailed as possible)

TeamsTeam WeeklyMeetings
{
DisplayName = "WeeklyMeetings"
AllowGiphy = $true
AllowUserDeleteMessages = $true
GlobalAdminAccount = $Creds
Ensure = "Present"
}

    TeamsChannel Reviews
    {
        TeamName           = "WeeklyMeetings"
        DisplayName        = "Team Reviews"
        GlobalAdminAccount = $Creds
        DependsOn          = "[TeamsTeam]WeeklyMeetings"
        Ensure             = "Present"
    }

    TeamsChannel LT
    {
        TeamName           = "WeeklyMeetings"
        DisplayName        = "Leadership Team"
        GlobalAdminAccount = $Creds
        DependsOn          = "[TeamsTeam]WeeklyMeetings"
        Ensure             = "Present"
    }

Get-TargetResource for EXODkimSigningConfig prompts credentials

Details of the scenario you tried and the problem that is occurring

When calling the Get-TargetResource method on the ExoDkimSigningConfig resource, it writes the following message to the host:

Creating a new session for implicit remoting of "Get-DkimSigningConfig" command...

and then prompts for credentials.

Verbose logs showing the problem

"Creating a new session for implicit remoting of "Get-DkimSigningConfig" command..."

Suggested solution to the issue

N/A

The DSC configuration that is used to reproduce the issue (as detailed as possible)

Occurs when calling the Get-TargetResource

The operating system the target node is running

N/A

Random Issues with EXOMailboxSettings

Details of the scenario you tried and the problem that is occurring

Every now and then, extracting EXOMailboxSettings with ReverseDSC will throw errors complaining about "Get-MailboxRegionalConfiguration" giving issues like following:

Error on proxy command 'Get-MailboxRegionalConfiguration -Identity:'admin'' to server
YQBPR0101MB0851.CANPRD01.PROD.OUTLOOK.COM: Server version 15.20.2052.0000, Proxy method
PSWS:
Cmdlet error with following error message:
Microsoft.Exchange.Data.Storage.MailboxInfoStaleException: Can't connect to the mailbox of
user Mailbox database guid: e350cc7b-d7cb-4416-a715-02adbe30c84c because the
ExchangePrincipal object contains outdated information. The mailbox may have been moved
recently. ---> Microsoft.Exchange.Data.Storage.DatabaseNotFoundException: The database with
ID 'e350cc7b-d7cb-4416-a715-02adbe30c84c' couldn't be found. --->
Microsoft.Exchange.Data.Directory.ServerInMMException: The domain controller
'YQBPR0101DC0005.CANPRD01.PROD.OUTLOOK.COM' is not available for use at the moment. Please
try again.
at Microsoft.Exchange.Data.Directory.TopologyDiscovery.SuitabilityVerifier.CheckIsServerSu
itable(String fqdn, Boolean isGlobalCatalog, NetworkCredential credentials,
SuitabilityCheckResult& suitabilityCheckResult)
at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType
connectionType, String partitionFqdn, ADObjectId domain, String serverName, Int32 port,
NetworkCredential credential)
at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType
connectionType, String partitionFqdn, NetworkCredential networkCredential, String
serverName, Int32 port)
at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType
connectionType, String partitionFqdn, NetworkCredential networkCredential, String serverName)
at Microsoft.Exchange.Data.Directory.ADDataSession.GetConnection(String preferredServer,
Boolean isWriteOperation, String optionalBaseDN, ADObjectId& rootId, ADScope scope)
at Microsoft.Exchange.Data.Directory.ADDataSession.InternalFind[TResult](ADObjectId
rootId, String optionalBaseDN, ADObjectId readId, QueryScope scope, QueryFilter filter,
SortBy sortBy, Int32 maxResults, IEnumerable1 properties, Boolean includeDeletedObjects, Boolean includeSoftDeletedObjects) at Microsoft.Exchange.Data.Directory.ADDataSession.Find[TResult](ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable1
properties, Boolean includeDeletedObjects, Boolean includeSoftDeletedObjects)
at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADTopologyConfigurationSession.In
ternalFind[TResult](ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy sortBy,
Int32 maxResults, IEnumerable1 properties) at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADTopologyConfigurationSession.Fi nd[TResult](ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable1 properties, String callerFilePath, Int32 callerFileLine, String
memberName)
at Microsoft.Exchange.Data.HA.DirectoryServices.ADTopologyConfigurationSessionWrapper.Find
Internal[TADWrapperObject,TADObject](ADObjectId rootId, QueryScope scope, QueryFilter
filter, SortBy sortBy, Int32 maxResults, IEnumerable1 properties) at Microsoft.Exchange.Data.HA.DirectoryServices.ADTopologyConfigurationSessionWrapper.Find [TADWrapperObject](ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults) at Microsoft.Exchange.Data.Storage.Cluster.DirectoryServices.SimpleAdObjectLookup1.<>c__D
isplayClass9_0.b__0()
at Microsoft.Exchange.Data.Directory.ADNotificationAdapter.RunADOperation(ADOperation
adOperation, Int32 retryCount)
at Microsoft.Exchange.Data.Directory.ADNotificationAdapter.TryRunADOperation(ADOperation
adOperation, Int32 retryCount)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Data.Storage.ActiveManager.ActiveManager.GetDatabaseByGuidEx(IFindAd
Object1 databaseLookup, Guid databaseId, AdObjectLookupFlags flags, IPerformanceDataLogger perfLogger) at Microsoft.Exchange.Data.Storage.ActiveManager.ActiveManager.GetServerNameForDatabase(Guid databaseId, GetServerForDatabaseFlags gsfdFlags, IPerformanceDataLogger perfLogger, IADDatabase& database) at Microsoft.Exchange.Data.Storage.ActiveManager.ActiveManager.GetServerForDatabase(Guid databaseId, GetServerForDatabaseFlags gsfdFlags, IPerformanceDataLogger perfLogger) at Microsoft.Exchange.Data.Storage.DatabaseLocationProvider.GetLocationInfo(Guid mdbGuid, Boolean bypassCache, Boolean ignoreSiteBoundary) --- End of inner exception stack trace --- at Microsoft.Exchange.Data.Storage.DatabaseLocationProvider.GetLocationInfo(Guid mdbGuid, Boolean bypassCache, Boolean ignoreSiteBoundary) at Microsoft.Exchange.Data.Storage.Principal.MailboxLocationFactory.Create(Guid mdbGuid, RemotingOptions remotingOptions, Boolean createLocationOnDemand) at Microsoft.Exchange.Data.Storage.ExchangePrincipalFactory.InternalFromADUser(IGenericADUser user, RemotingOptions remotingOptions, Boolean createLocationOnDemand) at Microsoft.Exchange.Data.Storage.Performance.MailboxOperationPerformanceTracker.ExecuteW ithLatencyTracking[T](ActivityOperationType operation, Func1 action, String instance)
at Microsoft.Exchange.Management.StoreTasks.GetMailboxRegionalConfiguration.CreateMailboxD
ataProvider(ADUser adUser)
at Microsoft.Exchange.Configuration.Tasks.DataAccessTask1.InternalStateReset() at Microsoft.Exchange.Configuration.Tasks.GetTaskBase1.InternalStateReset()
at Microsoft.Exchange.Configuration.Tasks.Task.b__93_1()
at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName,
Action func, Boolean terminatePipelineIfFailed).
[Server=YTBPR01MB3038,RequestId=8be3b4cf-e565-4ceb-850a-86292a97c7d4,TimeStamp=7/11/2019
1:29:51 AM] .
+ CategoryInfo : NotSpecified: (:) [Get-MailboxRegionalConfiguration], CmdletPr
oxyException
+ FullyQualifiedErrorId : Microsoft.Exchange.Configuration.CmdletProxyException,Microsof
t.Exchange.Management.StoreTasks.GetMailboxRegionalConfiguration
+ PSComputerName : outlook.office365.com

We still can't find a pattern for these occurrences and they are not always reproduced from one extraction run to another. Logging this for Knowledge Base purposes.

Verbose logs showing the problem

Error on proxy command 'Get-MailboxRegionalConfiguration -Identity:'admin'' to server
YQBPR0101MB0851.CANPRD01.PROD.OUTLOOK.COM: Server version 15.20.2052.0000, Proxy method
PSWS:
Cmdlet error with following error message:
Microsoft.Exchange.Data.Storage.MailboxInfoStaleException: Can't connect to the mailbox of
user Mailbox database guid: e350cc7b-d7cb-4416-a715-02adbe30c84c because the
ExchangePrincipal object contains outdated information. The mailbox may have been moved
recently. ---> Microsoft.Exchange.Data.Storage.DatabaseNotFoundException: The database with
ID 'e350cc7b-d7cb-4416-a715-02adbe30c84c' couldn't be found. --->
Microsoft.Exchange.Data.Directory.ServerInMMException: The domain controller
'YQBPR0101DC0005.CANPRD01.PROD.OUTLOOK.COM' is not available for use at the moment. Please
try again.
at Microsoft.Exchange.Data.Directory.TopologyDiscovery.SuitabilityVerifier.CheckIsServerSu
itable(String fqdn, Boolean isGlobalCatalog, NetworkCredential credentials,
SuitabilityCheckResult& suitabilityCheckResult)
at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType
connectionType, String partitionFqdn, ADObjectId domain, String serverName, Int32 port,
NetworkCredential credential)
at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType
connectionType, String partitionFqdn, NetworkCredential networkCredential, String
serverName, Int32 port)
at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType
connectionType, String partitionFqdn, NetworkCredential networkCredential, String serverName)
at Microsoft.Exchange.Data.Directory.ADDataSession.GetConnection(String preferredServer,
Boolean isWriteOperation, String optionalBaseDN, ADObjectId& rootId, ADScope scope)
at Microsoft.Exchange.Data.Directory.ADDataSession.InternalFind[TResult](ADObjectId
rootId, String optionalBaseDN, ADObjectId readId, QueryScope scope, QueryFilter filter,
SortBy sortBy, Int32 maxResults, IEnumerable1 properties, Boolean includeDeletedObjects, Boolean includeSoftDeletedObjects) at Microsoft.Exchange.Data.Directory.ADDataSession.Find[TResult](ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable1
properties, Boolean includeDeletedObjects, Boolean includeSoftDeletedObjects)
at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADTopologyConfigurationSession.In
ternalFind[TResult](ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy sortBy,
Int32 maxResults, IEnumerable1 properties) at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADTopologyConfigurationSession.Fi nd[TResult](ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable1 properties, String callerFilePath, Int32 callerFileLine, String
memberName)
at Microsoft.Exchange.Data.HA.DirectoryServices.ADTopologyConfigurationSessionWrapper.Find
Internal[TADWrapperObject,TADObject](ADObjectId rootId, QueryScope scope, QueryFilter
filter, SortBy sortBy, Int32 maxResults, IEnumerable1 properties) at Microsoft.Exchange.Data.HA.DirectoryServices.ADTopologyConfigurationSessionWrapper.Find [TADWrapperObject](ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults) at Microsoft.Exchange.Data.Storage.Cluster.DirectoryServices.SimpleAdObjectLookup1.<>c__D
isplayClass9_0.b__0()
at Microsoft.Exchange.Data.Directory.ADNotificationAdapter.RunADOperation(ADOperation
adOperation, Int32 retryCount)
at Microsoft.Exchange.Data.Directory.ADNotificationAdapter.TryRunADOperation(ADOperation
adOperation, Int32 retryCount)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Data.Storage.ActiveManager.ActiveManager.GetDatabaseByGuidEx(IFindAd
Object1 databaseLookup, Guid databaseId, AdObjectLookupFlags flags, IPerformanceDataLogger perfLogger) at Microsoft.Exchange.Data.Storage.ActiveManager.ActiveManager.GetServerNameForDatabase(Guid databaseId, GetServerForDatabaseFlags gsfdFlags, IPerformanceDataLogger perfLogger, IADDatabase& database) at Microsoft.Exchange.Data.Storage.ActiveManager.ActiveManager.GetServerForDatabase(Guid databaseId, GetServerForDatabaseFlags gsfdFlags, IPerformanceDataLogger perfLogger) at Microsoft.Exchange.Data.Storage.DatabaseLocationProvider.GetLocationInfo(Guid mdbGuid, Boolean bypassCache, Boolean ignoreSiteBoundary) --- End of inner exception stack trace --- at Microsoft.Exchange.Data.Storage.DatabaseLocationProvider.GetLocationInfo(Guid mdbGuid, Boolean bypassCache, Boolean ignoreSiteBoundary) at Microsoft.Exchange.Data.Storage.Principal.MailboxLocationFactory.Create(Guid mdbGuid, RemotingOptions remotingOptions, Boolean createLocationOnDemand) at Microsoft.Exchange.Data.Storage.ExchangePrincipalFactory.InternalFromADUser(IGenericADUser user, RemotingOptions remotingOptions, Boolean createLocationOnDemand) at Microsoft.Exchange.Data.Storage.Performance.MailboxOperationPerformanceTracker.ExecuteW ithLatencyTracking[T](ActivityOperationType operation, Func1 action, String instance)
at Microsoft.Exchange.Management.StoreTasks.GetMailboxRegionalConfiguration.CreateMailboxD
ataProvider(ADUser adUser)
at Microsoft.Exchange.Configuration.Tasks.DataAccessTask1.InternalStateReset() at Microsoft.Exchange.Configuration.Tasks.GetTaskBase1.InternalStateReset()
at Microsoft.Exchange.Configuration.Tasks.Task.b__93_1()
at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName,
Action func, Boolean terminatePipelineIfFailed).
[Server=YTBPR01MB3038,RequestId=8be3b4cf-e565-4ceb-850a-86292a97c7d4,TimeStamp=7/11/2019
1:29:51 AM] .
+ CategoryInfo : NotSpecified: (:) [Get-MailboxRegionalConfiguration], CmdletPr
oxyException
+ FullyQualifiedErrorId : Microsoft.Exchange.Configuration.CmdletProxyException,Microsof
t.Exchange.Management.StoreTasks.GetMailboxRegionalConfiguration
+ PSComputerName : outlook.office365.com

Suggested solution to the issue

The DSC configuration that is used to reproduce the issue (as detailed as possible)

N/A (ReverseDSC Extraction)

The operating system the target node is running

O365DSC

Version of the DSC module that was used ('dev' if using current dev branch)

1.0.0.*

TeamsLiveEventsPolicy

Description

New Resource

Proposed properties

Special considerations or limitations

Issues with Export-O365Configuration using MFA

Hi, I'm trying to use the Export-O365Configuration command, but my account is using MFA and it is throwing the following error:

Connect-AzureAD : AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access

Connect-AzureAD : Response status code does not indicate success: 400 (BadRequest).

Thanks

Session keeps holds of previous Credentials for extraction

Details of the scenario you tried and the problem that is occurring

logging under Office365DSC but really belongs to MSCloudLoginAssistant. I have two Tenant Admins in the same Tenant. One who doesn't use MFA, the second one who does. If I open a brand new PowerShell Session and do a Tenant Extraction with Extract-O365Configuration (which succeeds), then do a second extraction for the same tenant, within the same PoSh session, but using the credentials of the user with MFA, I never get prompted for MFA auth and the extraction proceeds successfully, most likely using the credentials from the previous Tenant Admin.

Verbose logs showing the problem

N/A

Suggested solution to the issue

Would needs to check for a Hash of the credentials somehow and have MSCloudAssistant figure out that a new set of credentials were provided so that we can clear any cache creds and prompt the new user for MFA Auth.

The DSC configuration that is used to reproduce the issue (as detailed as possible)

N/A

The operating system the target node is running

N/A

Version of the DSC module that was used ('dev' if using current dev branch)

N/A

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.