microsoft / Microsoft365DSC

Manages, configures, extracts and monitors Microsoft 365 tenant configurations
https://aka.ms/M365DSC
MIT License
1.53k stars 469 forks source link

Reporting doesn't provide any information #1879

Closed Manbearpiet closed 1 year ago

Manbearpiet commented 2 years ago

I just installed the Microsoft365 module, however I'm still running into some issue with reporting.

Expected behavior

The M365TenantConfig.ps1 file generated from Export-M365DSCConfiguration -Credential $creds does contain a lot of DSC configuration. But the export generated doesn't contain any information. I can't see any errors or am I doing something wrong?

Pattern

When I run: New-M365DSCReportFromConfiguration -Type JSON -ConfigurationPath .\M365TenantConfig.ps1 -OutputPath./report.json

It returns the following export:

[
    {
        "ResourceName":  "Settings",
        "":  [
                 "default",
                 "\r\n",
                 "Value",
                 "Personal",
                 "\r\n",
                 "en-US",
                 "Personal",
                 "de-DE",
                 "Persönlich",
                 "es-ES",
                 "Personal",
                 "fr-FR",
                 "Personnel",
                 "it-IT",
                 "Personale",
                 "ja-JP",
                 "個人用",
                 "ko-KR",
                 "개인용",
                 "pt-BR",
                 "Pessoal",
                 "ru-RU",
                 "Личное",
                 "zh-CN",
                 "个人",
                 "zh-TW",
                 "個人"
             ],
        "ResourceID":  "MSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValue"
    },
    {
        "ResourceName":  "Settings",
        "":  [
                 "default",
                 "\r\n",
                 "Value",
                 "Non-business data, for personal use only.",
                 "\r\n",
                 "en-US",
                 "Personal",
                 "de-DE",
                 "Persönlich",
                 "es-ES",
                 "Personal",
                 "fr-FR",
                 "Personnel",
                 "it-IT",
                 "Personale",
                 "ja-JP",
                 "個人用",
                 "ko-KR",
                 "개인용",
                 "pt-BR",
                 "Pessoal",
                 "ru-RU",
                 "Личное",
                 "zh-CN",
                 "个人",
                 "zh-TW",
                 "個人"
             ],
        "ResourceID":  "MSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValue"
    }
]

Output

The export output:

Connecting to {MicrosoftGraph}...✅
Connecting to {MicrosoftTeams}...✅
Connecting to {PnP}...✅
Connecting to {SecurityComplianceCenter}...✅
[1/137] Extracting [AADApplication]...
[2/137] Extracting [AADConditionalAccessPolicy]...✅
[3/137] Extracting [AADGroup]...
    |---[1/8] All Company✅
    |---[2/8] Retail✅
    |---[3/8] Mark 8 Project Team✅
    |---[4/8] Sales and Marketing✅
    |---[5/8] Sample Team Site✅
    |---[6/8] Digital Initiative Public Relations✅
    |---[7/8] p70m✅
    |---[8/8] U.S. Sales✅
[4/137] Extracting [AADGroupLifecyclePolicy]...✅
[5/137] Extracting [AADGroupsNamingPolicy]...✅
[6/137] Extracting [AADGroupsSettings]...✅
[7/137] Extracting [AADNamedLocationPolicy]...✅
[8/137] Extracting [AADRoleDefinition]...
    |---[1/88] Global Administrator✅
    |---[2/88] Guest User✅
    |---[3/88] Restricted Guest User✅
    |---[4/88] Guest Inviter✅
    |---[5/88] User Administrator✅
    |---[6/88] Helpdesk Administrator✅
    |---[7/88] Service Support Administrator✅
    |---[8/88] Billing Administrator✅
    |---[9/88] User✅
    |---[10/88] Partner Tier1 Support✅
    |---[11/88] Partner Tier2 Support✅
    |---[12/88] Directory Readers✅
    |---[13/88] Directory Writers✅
    |---[14/88] Exchange Administrator✅
    |---[15/88] SharePoint Administrator✅
    |---[16/88] Skype for Business Administrator✅
    |---[17/88] Device Users✅
    |---[18/88] Azure AD Joined Device Local Administrator✅
    |---[19/88] Device Join✅
    |---[20/88] Workplace Device Join✅
    |---[21/88] Compliance Administrator✅
    |---[22/88] Directory Synchronization Accounts✅
    |---[23/88] Device Managers✅
    |---[24/88] Application Administrator✅
    |---[25/88] Application Developer✅
    |---[26/88] Security Reader✅
    |---[27/88] Security Administrator✅
    |---[28/88] Privileged Role Administrator✅
    |---[29/88] Intune Administrator✅
    |---[30/88] Cloud Application Administrator✅
    |---[31/88] Customer LockBox Access Approver✅
    |---[32/88] Dynamics 365 Administrator✅
    |---[33/88] Power BI Administrator✅
    |---[34/88] Conditional Access Administrator✅
    |---[35/88] Reports Reader✅
    |---[36/88] Message Center Reader✅
    |---[37/88] Azure Information Protection Administrator✅
    |---[38/88] Desktop Analytics Administrator✅
    |---[39/88] License Administrator✅
    |---[40/88] Cloud Device Administrator✅
    |---[41/88] Authentication Administrator✅
    |---[42/88] Privileged Authentication Administrator✅
    |---[43/88] Teams Communications Administrator✅
    |---[44/88] Teams Communications Support Engineer✅
    |---[45/88] Teams Communications Support Specialist✅
    |---[46/88] Teams Administrator✅
    |---[47/88] Insights Administrator✅
    |---[48/88] Message Center Privacy Reader✅
    |---[49/88] External ID User Flow Administrator✅
    |---[50/88] External ID User Flow Attribute Administrator✅
    |---[51/88] B2C IEF Keyset Administrator✅
    |---[52/88] B2C IEF Policy Administrator✅
    |---[53/88] External Identity Provider Administrator✅
    |---[54/88] Compliance Data Administrator✅
    |---[55/88] Security Operator✅
    |---[56/88] Kaizala Administrator✅
    |---[57/88] Global Reader✅
    |---[58/88] Search Administrator✅
    |---[59/88] Search Editor✅
    |---[60/88] Password Administrator✅
    |---[61/88] Printer Administrator✅
    |---[62/88] Printer Technician✅
    |---[63/88] Authentication Policy Administrator✅
    |---[64/88] Groups Administrator✅
    |---[65/88] Power Platform Administrator✅
    |---[66/88] Azure DevOps Administrator✅
    |---[67/88] Hybrid Identity Administrator✅
    |---[68/88] Office Apps Administrator✅
    |---[69/88] Network Administrator✅
    |---[70/88] Insights Business Leader✅
    |---[71/88] Teams Devices Administrator✅
    |---[72/88] Attack Simulation Administrator✅
    |---[73/88] Attack Payload Author✅
    |---[74/88] Usage Summary Reports Reader✅
    |---[75/88] Knowledge Administrator✅
    |---[76/88] Knowledge Manager✅
    |---[77/88] Domain Name Administrator✅
    |---[78/88] Attribute Definition Administrator✅
    |---[79/88] Attribute Assignment Administrator✅
    |---[80/88] Attribute Definition Reader✅
    |---[81/88] Attribute Assignment Reader✅
    |---[82/88] Exchange Recipient Administrator✅
    |---[83/88] Identity Governance Administrator✅
    |---[84/88] Cloud App Security Administrator✅
    |---[85/88] Windows Update Deployment Administrator✅
    |---[86/88] Windows 365 Administrator✅
    |---[87/88] Edge Administrator✅
    |---[88/88] Virtual Visits Administrator✅
[9/137] Extracting [AADTenantDetails]...✅
[10/137] Extracting [AADTokenLifetimePolicy]...✅
[11/137] Extracting [EXOAcceptedDomain]...
    |---[1/1] p70m.onmicrosoft.com✅
[12/137] Extracting [EXOActiveSyncDeviceAccessRule]...✅
[13/137] Extracting [EXOAddressBookPolicy]...✅
[14/137] Extracting [EXOAddressList]...
    🟡 The current tenant is not registered to allow for Address Lists
[15/137] Extracting [EXOAntiPhishPolicy]...
    |---[1/1] Office365 AntiPhish Default✅
[16/137] Extracting [EXOAntiPhishRule]...✅
[17/137] Extracting [EXOApplicationAccessPolicy]...✅
[18/137] Extracting [EXOAtpPolicyForO365]...
    |---[1/1] p70m.onmicrosoft.com\Default✅
[19/137] Extracting [EXOAuthenticationPolicy]...✅
[20/137] Extracting [EXOAvailabilityAddressSpace]...✅
[21/137] Extracting [EXOAvailabilityConfig]...✅
[22/137] Extracting [EXOCASMailboxPlan]...
    |---[1/4] ExchangeOnlineEnterprise✅
    |---[2/4] ExchangeOnlineDeskless✅
    |---[3/4] ExchangeOnline✅
    |---[4/4] ExchangeOnlineEssentials✅
[23/137] Extracting [EXOClientAccessRule]...✅
[24/137] Extracting [EXODkimSigningConfig]...✅
[25/137] Extracting [EXOEmailAddressPolicy]...
    |---[1/1] Default Policy✅
[26/137] Extracting [EXOGlobalAddressList]...
    🟡 The current tenant is not registered to allow for Global Address List
[27/137] Extracting [EXOHostedConnectionFilterPolicy]...
    |---[1/1] Default✅
[28/137] Extracting [EXOHostedContentFilterPolicy]...
    |---[1/1] Default✅
[29/137] Extracting [EXOHostedContentFilterRule]...✅
[30/137] Extracting [EXOHostedOutboundSpamFilterPolicy]...
    |---[1/1] Default✅
[31/137] Extracting [EXOHostedOutboundSpamFilterRule]...✅
[32/137] Extracting [EXOInboundConnector]...✅
[33/137] Extracting [EXOIntraOrganizationConnector]...✅
[34/137] Extracting [EXOJournalRule]...✅
[35/137] Extracting [EXOMailboxPlan]...
    |---[1/4] ExchangeOnlineEnterprise✅
    |---[2/4] ExchangeOnlineDeskless✅
    |---[3/4] ExchangeOnline✅
    |---[4/4] ExchangeOnlineEssentials✅
[36/137] Extracting [EXOMailTips]...✅
[37/137] Extracting [EXOMalwareFilterPolicy]...
    |---[1/1] Default✅
[38/137] Extracting [EXOMalwareFilterRule]...✅
[39/137] Extracting [EXOMobileDeviceMailboxPolicy]...
    |---[1/1] Default✅
[40/137] Extracting [EXOOfflineAddressBook]...✅
[41/137] Extracting [EXOOnPremisesOrganization]...✅
[42/137] Extracting [EXOOrganizationConfig]...✅
[43/137] Extracting [EXOOrganizationRelationship]...✅
[44/137] Extracting [EXOOutboundConnector]...✅
[45/137] Extracting [EXOOwaMailboxPolicy]...
    |---[1/1] OwaMailboxPolicy-Default✅
[46/137] Extracting [EXOPartnerApplication]...✅
[47/137] Extracting [EXOPolicyTipConfig]...✅
[48/137] Extracting [EXORemoteDomain]...
    |---[1/1] Default✅
[49/137] Extracting [EXORoleAssignmentPolicy]...
    |---[1/1] Default Role Assignment Policy✅
[50/137] Extracting [EXOSafeAttachmentPolicy]...
    |---[1/1] Built-In Protection Policy✅
[51/137] Extracting [EXOSafeAttachmentRule]...✅
[52/137] Extracting [EXOSafeLinksPolicy]...
    |---[1/1] Built-In Protection Policy✅
[53/137] Extracting [EXOSafeLinksRule]...✅
[54/137] Extracting [EXOSharedMailbox]...✅
[55/137] Extracting [EXOSharingPolicy]...
    |---[1/1] Default Sharing Policy✅
[56/137] Extracting [EXOTransportConfig]...✅
[57/137] Extracting [EXOTransportRule]...✅
[58/137] Extracting [IntuneAppConfigurationPolicy]...✅
[59/137] Extracting [IntuneAppProtectionPolicyiOS]...✅
[60/137] Extracting [IntuneDeviceCategory]...✅
[61/137] Extracting [IntuneDeviceCompliancePolicyAndroid]...✅
[62/137] Extracting [IntuneDeviceCompliancePolicyAndroidDeviceOwner]...✅
[63/137] Extracting [IntuneDeviceCompliancePolicyAndroidWorkProfile]...✅
[64/137] Extracting [IntuneDeviceCompliancePolicyiOs]...✅
[65/137] Extracting [IntuneDeviceCompliancePolicyMacOS]...✅
[66/137] Extracting [IntuneDeviceCompliancePolicyWindows10]...✅
[67/137] Extracting [IntuneDeviceConfigurationPolicyAndroidDeviceOwner]...✅
[68/137] Extracting [IntuneDeviceConfigurationPolicyAndroidWorkProfile]...✅
[69/137] Extracting [IntuneDeviceConfigurationPolicyiOS]...✅
[70/137] Extracting [IntuneDeviceConfigurationPolicyWindows10]...✅
[71/137] Extracting [IntuneDeviceEnrollmentLimitRestriction]...
    |---[1/1] All users and all devices✅
[72/137] Extracting [IntuneDeviceEnrollmentPlatformRestriction]...
    |---[1/1] All users and all devices✅
[73/137] Extracting [O365AdminAuditLogConfig]...✅
[74/137] Extracting [O365OrgCustomizationSetting]...✅
[75/137] Extracting [ODSettings]...✅
[76/137] Extracting [PPTenantIsolationSettings]...❌
[77/137] Extracting [SCAuditConfigurationPolicy]...✅
[78/137] Extracting [SCCaseHoldPolicy]...✅
[79/137] Extracting [SCCaseHoldRule]...✅
[80/137] Extracting [SCComplianceCase]...✅
[81/137] Extracting [SCComplianceSearch]...✅
[82/137] Extracting [SCComplianceSearchAction]...✅
[83/137] Extracting [SCComplianceTag]...✅
[84/137] Extracting [SCDeviceConditionalAccessPolicy]...✅
[85/137] Extracting [SCDeviceConfigurationPolicy]...✅
[86/137] Extracting [SCDLPCompliancePolicy]...
    |---[1/1] Default policy for Teams✅
[87/137] Extracting [SCDLPComplianceRule]...
    |---[1/1] Default Teams DLP policy rule✅
[88/137] Extracting [SCFilePlanPropertyAuthority]...✅
    |---[1/3] Business✅
    |---[2/3] Legal✅
    |---[3/3] Regulatory✅
[89/137] Extracting [SCFilePlanPropertyCategory]...
    |---[1/13] Accounts payable✅
    |---[2/13] Accounts receivable✅
    |---[3/13] Administration✅
    |---[4/13] Compliance✅
    |---[5/13] Contracting✅
    |---[6/13] Financial statements✅
    |---[7/13] Learning and development✅
    |---[8/13] Planning✅
    |---[9/13] Payroll✅
    |---[10/13] Policies and procedures✅
    |---[11/13] Procurement✅
    |---[12/13] Recruiting and hiring✅
    |---[13/13] Research and development✅
[90/137] Extracting [SCFilePlanPropertyCitation]...
    |---[1/5] Commodity Exchange Act✅
    |---[2/5] Sarbanes-Oxley Act of 2002✅
    |---[3/5] Truth in lending Act✅
    |---[4/5] Health Insurance Portability and Accountability Act of 1996✅
    |---[5/5] OSHA Injury and Illness Recordkeeping and Reporting Requirements✅
[91/137] Extracting [SCFilePlanPropertyDepartment]...
    |---[1/10] Finance✅
    |---[2/10] Human resources✅
    |---[3/10] Information technology✅
    |---[4/10] Legal✅
    |---[5/10] Marketing✅
    |---[6/10] Operations✅
    |---[7/10] Procurement✅
    |---[8/10] Products✅
    |---[9/10] Sales✅
    |---[10/10] Services✅
[92/137] Extracting [SCFilePlanPropertyReferenceId]...✅
[93/137] Extracting [SCFilePlanPropertySubCategory]...✅
[94/137] Extracting [SCLabelPolicy]...
    |---[1/1] Global sensitivity label policy✅
[95/137] Extracting [SCRetentionCompliancePolicy]...✅
[96/137] Extracting [SCRetentionComplianceRule]...✅
[97/137] Extracting [SCRetentionEventType]...
        |---[1/3] Employee activity✅
        |---[2/3] Expiration or termination of contracts and agreements✅
        |---[3/3] Product lifetime✅
[98/137] Extracting [SCSensitivityLabel]...
    |---[1/12] defa4170-0d19-0005-0000-bc88714345d2✅
    |---[2/12] defa4170-0d19-0005-0001-bc88714345d2✅
    |---[3/12] defa4170-0d19-0005-0002-bc88714345d2✅
    |---[4/12] defa4170-0d19-0005-0003-bc88714345d2✅
    |---[5/12] defa4170-0d19-0005-0004-bc88714345d2✅
    |---[6/12] defa4170-0d19-0005-0005-bc88714345d2✅
    |---[7/12] defa4170-0d19-0005-0006-bc88714345d2✅
    |---[8/12] defa4170-0d19-0005-0007-bc88714345d2✅
    |---[9/12] defa4170-0d19-0005-0008-bc88714345d2✅
    |---[10/12] defa4170-0d19-0005-0009-bc88714345d2✅
    |---[11/12] defa4170-0d19-0005-000a-bc88714345d2✅
    |---[12/12] defa4170-0d19-0005-000b-bc88714345d2✅
[99/137] Extracting [SCSupervisoryReviewPolicy]...✅
[100/137] Extracting [SCSupervisoryReviewRule]...✅
[101/137] Extracting [SPOAccessControlSettings]...✅
[102/137] Extracting [SPOApp]...[103/137] Extracting [SPOBrowserIdleSignout]...✅
[104/137] Extracting [SPOHomeSite]...✅
[105/137] Extracting [SPOHubSite]...✅
[106/137] Extracting [SPOOrgAssetsLibrary]...✅
[107/137] Extracting [SPOSearchManagedProperty]...✅
[108/137] Extracting [SPOSearchResultSource]...✅
[109/137] Extracting [SPOSharingSettings]...✅
[110/137] Extracting [SPOSiteDesign]...✅
[111/137] Extracting [SPOSiteDesignRights]...✅
[112/137] Extracting [SPOSiteScript]...✅
[113/137] Extracting [SPOStorageEntity]...✅
[114/137] Extracting [SPOTenantCdnEnabled]...
    |---[1/2] Public✅
    |---[2/2] Private✅
[115/137] Extracting [SPOTenantCdnPolicy]...
    |---[1/2] Public✅
    |---[2/2] Private✅
[116/137] Extracting [SPOTenantSettings]...✅
[117/137] Extracting [SPOTheme]...✅
[118/137] Extracting [TeamsCallingPolicy]...
    |---[1/5] Global✅
    |---[2/5] Tag:AllowCalling✅
    |---[3/5] Tag:DisallowCalling✅
    |---[4/5] Tag:AllowCallingPreventTollBypass✅
    |---[5/5] Tag:AllowCallingPreventForwardingtoPhone✅
[119/137] Extracting [TeamsChannelsPolicy]...
    |---[1/2] Global✅
    |---[2/2] Tag:Default✅
[120/137] Extracting [TeamsClientConfiguration]...✅
[121/137] Extracting [TeamsEmergencyCallingPolicy]...
    |---[1/1] Global✅
[122/137] Extracting [TeamsEmergencyCallRoutingPolicy]...
    |---[1/1] Global✅
[123/137] Extracting [TeamsFederationConfiguration]...✅
[124/137] Extracting [TeamsGuestCallingConfiguration]...✅
[125/137] Extracting [TeamsGuestMeetingConfiguration]...✅
[126/137] Extracting [TeamsGuestMessagingConfiguration]...✅
[127/137] Extracting [TeamsMeetingBroadcastConfiguration]...✅
[128/137] Extracting [TeamsMeetingBroadcastPolicy]...
    |---[1/2] Global✅
    |---[2/2] Tag:Default✅
[129/137] Extracting [TeamsMeetingConfiguration]...✅
[130/137] Extracting [TeamsMeetingPolicy]...
    |---[1/7] Global✅
    |---[2/7] Tag:AllOn✅
    |---[3/7] Tag:RestrictedAnonymousAccess✅
    |---[4/7] Tag:AllOff✅
    |---[5/7] Tag:RestrictedAnonymousNoRecording✅
    |---[6/7] Tag:Default✅
    |---[7/7] Tag:Kiosk✅
[131/137] Extracting [TeamsMessagingPolicy]...
    |---[1/4] Global✅
    |---[2/4] Tag:Default✅
    |---[3/4] Tag:EduFaculty✅
    |---[4/4] Tag:EduStudent✅
[132/137] Extracting [TeamsPstnUsage]...✅
[133/137] Extracting [TeamsTenantDialPlan]...
    |---[1/1] Global✅
[134/137] Extracting [TeamsUpgradeConfiguration]...✅
[135/137] Extracting [TeamsUpgradePolicy]...
    |---[1/11] Global✅
    |---[2/11] UpgradeToTeams✅
    |---[3/11] Islands✅
    |---[4/11] IslandsWithNotify✅
    |---[5/11] SfBOnly✅
    |---[6/11] SfBOnlyWithNotify✅
    |---[7/11] SfBWithTeamsCollab✅
    |---[8/11] SfBWithTeamsCollabWithNotify✅
    |---[9/11] SfBWithTeamsCollabAndMeetings✅
    |---[10/11] SfBWithTeamsCollabAndMeetingsWithNotify✅
    |---[11/11] SfBOnlyWithOutNotify✅
[136/137] Extracting [TeamsVoiceRoute]...
    |---[1/1] LocalRoute✅
[137/137] Extracting [TeamsVoiceRoutingPolicy]...
    |---[1/1] Global✅
⌛ Export took {919 seconds}
gitmanphilly commented 2 years ago

Well then I am not alone - see my issue reported just before yours.. Same thing. Seems version 406 blew it up. It WAS working perfectly prior to this update.

krugerd commented 2 years ago

I reported same issue with New-M365DSCReportFromConfiguration (see #1845) This now works for me in 1.22.420.1

Manbearpiet commented 2 years ago

I reported same issue with New-M365DSCReportFromConfiguration (see #1845) This now works for me in 1.22.420.1

I updated, updated the dependencies several times and tried again, now the report does render. But the delta report doesn't show the differences.

There is a new bug:

  Export-M365DSCConfiguration -Credential $creds -FileName new.ps1 -Path .

cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Credential
Connecting to {ExchangeOnline}...✅
Connecting to {MicrosoftGraph}...✅
Connecting to {MicrosoftTeams}...✅
Connecting to {PnP}...❌
One or more errors occurred.

Updating the graph scopes doesn't fix it. Logged in with interactive login.

andikrueger commented 2 years ago

@Manbearpiet could you try to update to the latest version of Microsoft365DSC:

Update-Module Microsoft365DSC
Update-M365DSCDependencies
Uninstall-M365DSCOutdatedDependencies

There were some PR in the meantime targeting issues with Reports.

Manbearpiet commented 2 years ago

@Manbearpiet could you try to update to the latest version of Microsoft365DSC:

Update-Module Microsoft365DSC
Update-M365DSCDependencies
Uninstall-M365DSCOutdatedDependencies

There were some PR in the meantime targeting issues with Reports.

Hey Andi sure will, do I need to export again or can I reuse the same export to create a new report :) ?

andikrueger commented 2 years ago

If the export isn’t to big, I would go for a new one. Otherwise you should be good with your current file.

Manbearpiet commented 2 years ago

Will let you know today!

Manbearpiet commented 2 years ago

The last step did have issues from an elevated terminal:

~  Uninstall-M365DSCOutdatedDependencies                                                                                            PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                           
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling DSCParser version {1.3.0.0}                                                                                            

Uninstalling Microsoft.Graph.Applications version {1.9.5}                                                                           PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.Graph.Applications version {1.9.3}                                                                           PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.Graph.DeviceManagement version {1.9.5}                                                                       PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                           
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.Graph.DeviceManagement version {1.9.3}                                                                       PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.Graph.DeviceManagement.Administration version {1.9.5}                                                        PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.Graph.DeviceManagement.Administration version {1.9.3}                                                        PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.Graph.DeviceManagement.Enrolment version {1.9.5}                                                             PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.Graph.DeviceManagement.Enrolment version {1.9.3}                                                             PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.Graph.Devices.CorporateManagement version {1.9.5}                                                            PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.Graph.Devices.CorporateManagement version {1.9.3}                                                            PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.Graph.Groups version {1.9.3}                                                                                 PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.Graph.Groups version {1.9.5}                                                                                 

Uninstalling Microsoft.Graph.Identity.DirectoryManagement version {1.9.3}                                                           PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.Graph.Identity.DirectoryManagement version {1.9.5}                                                           

Uninstalling Microsoft.Graph.Identity.Governance version {1.9.3}                                                                    PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.Graph.Identity.Governance version {1.9.5}                                                                    

Uninstalling Microsoft.Graph.Identity.SignIns version {1.9.3}                                                                       PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.Graph.Identity.SignIns version {1.9.5}                                                                       

Uninstalling Microsoft.Graph.Planner version {1.9.3}                                                                                PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.Graph.Planner version {1.9.5}                                                                                

Uninstalling Microsoft.Graph.Planner version {1.7.0}                                                                                

Uninstalling Microsoft.Graph.Teams version {1.9.3}                                                                                  PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.Graph.Teams version {1.9.5}                                                                                 

Uninstalling Microsoft.Graph.Teams version {1.7.0}                                                                                  

Uninstalling Microsoft.Graph.Users version {1.9.3}                                                                                  PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.Graph.Users version {1.9.5}                                                                                  

Uninstalling Microsoft.PowerApps.Administration.PowerShell version {2.0.145}                                                        PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.PowerApps.Administration.PowerShell version {2.0.144}                                                        PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.PowerApps.Administration.PowerShell version {2.0.142}                                                        PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling Microsoft.PowerApps.Administration.PowerShell version {2.0.138}                                                        

Uninstalling MicrosoftTeams version {4.2.0}                                                                                         
PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling MicrosoftTeams version {4.1.0}                                                                                         
PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling MicrosoftTeams version {4.0.0}                                                                                         
PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception        
 + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling MicrosoftTeams version {2.6.0}                                                                                         

Uninstalling MSCloudLoginAssistant version {1.0.83}                                                                                 PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling MSCloudLoginAssistant version {1.0.73}                                                                                 

Uninstalling PnP.PowerShell version {1.9.0}                                                                                         
PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     Uninstalling PnP.PowerShell version {1.8.0}                                                                                         

Uninstalling ReverseDSC version {2.0.0.10}                                                                                          
PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                             + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception         
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power     Shell.PackageManagement.Cmdlets.UninstallPackage                                                                                                                                                                                                                     

Uninstalling ReverseDSC version {2.0.0.7}                                                                                           
Checking Microsoft.Graph.Authentication                                                                                             

Uninstalling Microsoft.Graph.Authentication version {1.9.5}                                                                         PackageManagement\Uninstall-Package : Access to the cloud file is denied                                                            
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21                                       
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters                                                         
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power
   Shell.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.Authentication version {1.9.3}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power
   Shell.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.Authentication version {1.9.5}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.Power
   Shell.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.Authentication version {1.7.0}
Confirm-M365DSCDependencies -Verbose
VERBOSE: Dependencies were already successfully validated.
Manbearpiet commented 2 years ago

Without the new export result is the same

[
    {
        "ResourceName":  "Settings",
        "":  [
                 "default",
                 "\r\n",
                 "Value",
                 "Personal",
                 "\r\n",
                 "en-US",
                 "Personal",
                 "de-DE",
                 "Persönlich",
                 "es-ES",
                 "Personal",
                 "fr-FR",
                 "Personnel",
                 "it-IT",
                 "Personale",
                 "ja-JP",
                 "個人用",
                 "ko-KR",
                 "개인용",
                 "pt-BR",
                 "Pessoal",
                 "ru-RU",
                 "Личное",
                 "zh-CN",
                 "个人",
                 "zh-TW",
                 "個人"
             ],
        "ResourceID":  "MSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValue"
    },
    {
        "ResourceName":  "Settings",
        "":  [
                 "default",
                 "\r\n",
                 "Value",
                 "Non-business data, for personal use only.",
                 "\r\n",
                 "en-US",
                 "Personal",
                 "de-DE",
                 "Persönlich",
                 "es-ES",
                 "Personal",
                 "fr-FR",
                 "Personnel",
                 "it-IT",
                 "Personale",
                 "ja-JP",
                 "個人用",
                 "ko-KR",
                 "개인용",
                 "pt-BR",
                 "Pessoal",
                 "ru-RU",
                 "Личное",
                 "zh-CN",
                 "个人",
                 "zh-TW",
                 "個人"
             ],
        "ResourceID":  "MSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValueMSFT_SCLabelSettingKeyValue"
    }
]

First attempt at new export:

Export-M365DSCConfiguration -Credential $creds -ConfigurationName ding.ps1

cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Credential
Connecting to {ExchangeOnline}...Error Acquiring Token:
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 '00000002-0000-0ff1-ce00-000000000000'.
Trace ID: 3928624a-8153-4458-953a-0bf1b0340700
Correlation ID: b7498687-75d0-4f36-bc29-a3c14f527fda
Timestamp: 2022-06-08 09:06:21Z
✅
Connecting to {MicrosoftGraph}...✅
Connecting to {MicrosoftTeams}...✅
Connecting to {PnP}...❌
One or more errors occurred.
Partial Export file was saved at: C:\Users\CHRIST~1\AppData\Local\Temp\eb7a2cc5-dadb-42b3-ae19-5965e99474b9.partial.ps1

Had a few MFA parses didn't get one for the failed PnP cnnection

Update-M365DSCAllowedGraphScopes -All -Type Update
# Clicked allow as a Global Admin
Allowed Graph scopes updated!

Export-M365DSCConfiguration -Credential $creds -ConfigurationName ding.ps1

cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Credential
Connecting to {ExchangeOnline}...✅
Connecting to {MicrosoftGraph}...✅
Connecting to {MicrosoftTeams}...✅
Connecting to {PnP}...❌
One or more errors occurred.
Partial Export file was saved at: C:\Users\CHRIST~1\AppData\Local\Temp\eceeac0a-fe8a-406c-917c-3bd8564b2cc9.partial.ps1

I tried a few times and also after a while. The MFA parses did pop up the 3rd and 4th time, but it still threw the same error. Debug and verbose didn't deliver any different info, so left those outputs out of the logs.

andikrueger commented 2 years ago

Could you verify that your PnP Application within AAD does have to proper permissions: https://microsoft365dsc.com/user-guide/get-started/authentication-and-permissions/

Manbearpiet commented 2 years ago

Could you verify that your PnP Application within AAD does have to proper permissions: https://microsoft365dsc.com/user-guide/get-started/authentication-and-permissions/

I think they are missing, while I did update Permissions:

Update-M365DSCAllowedGraphScopes -All -Type Update
# Clicked allow as a Global Admin
Allowed Graph scopes updated!
(Get-M365DSCCompiledPermissionList -ResourceNameList (Get-M365DSCAllResources)).ReadPermissions
Application.Read.All
Application.ReadWrite.All
Directory.AccessAsUser.All
Directory.Read.All
DeviceManagementApps.Read.All
DeviceManagementApps.ReadWrite.All
DeviceManagementManagedDevices.Read.All
DeviceManagementManagedDevices.ReadWrite.All
DeviceManagementServiceConfig.Read.All
DeviceManagementServiceConfig.ReadWrite.All
Directory.ReadWrite.All
Group.Read.All
Group.ReadWrite.All
GroupMember.Read.All
Policy.Read.All
RoleManagement.Read.Directory
RoleManagement.ReadWrite.Directory
User.Read.All
User.ReadBasic.All
User.ReadWrite.All
Organization.Read.All
Organization.ReadWrite.All
User.Read
Policy.ReadWrite.ApplicationConfiguration
DeviceManagementConfiguration.Read.All
GroupMember.ReadWrite.All
Tasks.Read
Tasks.ReadWrite
Sites.FullControl.All
Channel.ReadBasic.All
ChannelSettings.Read.All
ChannelSettings.ReadWrite.All

(Get-M365DSCCompiledPermissionList -ResourceNameList (Get-M365DSCAllResources)).UpdatePermissions
Application.Read.All
Application.ReadWrite.All
Directory.AccessAsUser.All
Directory.Read.All
Directory.ReadWrite.All
DeviceManagementApps.Read.All
DeviceManagementApps.ReadWrite.All
DeviceManagementManagedDevices.Read.All
DeviceManagementManagedDevices.ReadWrite.All
DeviceManagementServiceConfig.Read.All
DeviceManagementServiceConfig.ReadWrite.All
Group.Read.All
Group.ReadWrite.All
GroupMember.Read.All
Policy.Read.All
Policy.ReadWrite.ConditionalAccess
RoleManagement.Read.Directory
RoleManagement.ReadWrite.Directory
User.Read.All
User.ReadBasic.All
User.ReadWrite.All
Organization.Read.All
Organization.ReadWrite.All
User.Read
Policy.ReadWrite.ApplicationConfiguration
DeviceManagementConfiguration.ReadWrite.All
GroupMember.ReadWrite.All
User.ManageIdentities.All
User.ReadWrite
Tasks.ReadWrite
Tasks.Read
Sites.FullControl.All
Channel.ReadBasic.All
ChannelSettings.Read.All
ChannelSettings.ReadWrite.All
TeamsTab.ReadWrite.All
TeamsTab.ReadWriteForTeam

Can I force it from the module @andikrueger ?

andikrueger commented 2 years ago

PnP Permissions need to be set with this cmdlet:

Register-PnPManagementShellAccess 

This will add the global PnP App to your tenant.

Manbearpiet commented 2 years ago

PnP Permissions need to be set with this cmdlet:

Register-PnPManagementShellAccess 

This will add the global PnP App to your tenant.

All in elevated Windows PowerShell session:

Register-PnPManagementShellAccess

(Get-M365DSCCompiledPermissionList -ResourceNameList (Get-M365DSCAllResources)).ReadPermissions
Application.Read.All
Application.ReadWrite.All
Directory.AccessAsUser.All
Directory.Read.All
DeviceManagementApps.Read.All
DeviceManagementApps.ReadWrite.All
DeviceManagementManagedDevices.Read.All
DeviceManagementManagedDevices.ReadWrite.All
DeviceManagementServiceConfig.Read.All
DeviceManagementServiceConfig.ReadWrite.All
Directory.ReadWrite.All
Group.Read.All
Group.ReadWrite.All
GroupMember.Read.All
Policy.Read.All
RoleManagement.Read.Directory
RoleManagement.ReadWrite.Directory
User.Read.All
User.ReadBasic.All
User.ReadWrite.All
Organization.Read.All
Organization.ReadWrite.All
User.Read
Policy.ReadWrite.ApplicationConfiguration
DeviceManagementConfiguration.Read.All
GroupMember.ReadWrite.All
Tasks.Read
Tasks.ReadWrite
Sites.FullControl.All
Channel.ReadBasic.All
ChannelSettings.Read.All
ChannelSettings.ReadWrite.All

Export-M365DSCConfiguration -Credential $creds -ConfigurationName ding.ps1
A NEWER VERSION OF MICROSOFT365DSC {v1.22.608.1} IS AVAILABLE IN THE POWERSHELL GALLERY. TO UPDATE, RUN:
Install-Module Microsoft365DSC -Force -AllowClobber
Connecting to {ExchangeOnline}...Error Acquiring Token:
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 '00000002-0000-0ff1-ce00-000000000000'.
Trace ID: 0ab48c24-cc0a-47ac-8f05-3d08e0ba2400
Correlation ID: cc41da3e-b317-4080-b90e-c86978f5f31e
Timestamp: 2022-06-09 16:10:32Z
✅
Connecting to {MicrosoftGraph}...✅
Connecting to {MicrosoftTeams}...✅
Connecting to {PnP}...❌
One or more errors occurred.
Partial Export file was saved at: C:\Users\CHRIST~1\AppData\Local\Temp\990cd19c-66c0-4014-bc84-e21ad675d2a6.partial.ps1

Install-Module Microsoft365DSC -Force -AllowClobber

Get-Module Microsoft365DSC

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Manifest   1.22.608.1 Microsoft365DSC                     {Add-M365DSCEvent, Add-M365DSCTelemetryEvent, Assert-M365DSCBlueprint, Co...

Update-M365DSCDependencies
Installing MSCloudLoginAssistant version {1.0.85}

Uninstall-M365DSCOutdatedDependencies

PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.Applications version {1.9.5}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.Applications version {1.9.3}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.DeviceManagement version {1.9.5}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.DeviceManagement version {1.9.3}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.DeviceManagement.Administration version {1.9.5}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.DeviceManagement.Administration version {1.9.3}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.DeviceManagement.Enrolment version {1.9.5}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.DeviceManagement.Enrolment version {1.9.3}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.Devices.CorporateManagement version {1.9.5}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.Devices.CorporateManagement version {1.9.3}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.Groups version {1.9.3}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.Identity.DirectoryManagement version {1.9.3}
PackageManagement\Uninstall-Package : Module 'Microsoft.Graph.Identity.DirectoryManagement' is in currently in use or you don't have
the required permissions.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : ModuleIsInUse,Uninstall-Package,Microsoft.PowerShell.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.Identity.Governance version {1.9.3}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.Identity.SignIns version {1.9.3}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.Planner version {1.9.3}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.Teams version {1.9.3}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.Users version {1.9.3}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.PowerApps.Administration.PowerShell version {2.0.145}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.PowerApps.Administration.PowerShell version {2.0.144}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.PowerApps.Administration.PowerShell version {2.0.142}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling MicrosoftTeams version {4.2.0}
PackageManagement\Uninstall-Package : Module 'MicrosoftTeams' is in currently in use or you don't have the required permissions.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : ModuleIsInUse,Uninstall-Package,Microsoft.PowerShell.PackageManagement.Cmdlets.UninstallPackage

Uninstalling MicrosoftTeams version {4.1.0}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling MicrosoftTeams version {4.0.0}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling MSCloudLoginAssistant version {1.0.83}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling MSCloudLoginAssistant version {1.0.84}
Uninstalling PnP.PowerShell version {1.9.0}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling ReverseDSC version {2.0.0.10}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Checking Microsoft.Graph.Authentication
Uninstalling Microsoft.Graph.Authentication version {1.9.5}
PackageManagement\Uninstall-Package : Module 'Microsoft.Graph.Authentication' is in currently in use or you don't have the required
permissions.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : ModuleIsInUse,Uninstall-Package,Microsoft.PowerShell.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.Authentication version {1.9.3}
PackageManagement\Uninstall-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShe
   ll.PackageManagement.Cmdlets.UninstallPackage

Uninstalling Microsoft.Graph.Authentication version {1.9.5}
PackageManagement\Uninstall-Package : Module 'Microsoft.Graph.Authentication' is in currently in use or you don't have the required
permissions.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package], Exception
    + FullyQualifiedErrorId : ModuleIsInUse,Uninstall-Package,Microsoft.PowerShell.PackageManagement.Cmdlets.UninstallPackage

Update-M365DSCAllowedGraphScopes -All -Type Read
Allowed Graph scopes updated!

Export-M365DSCConfiguration -Credential $creds -ConfigurationName ding.ps1
Connecting to {ExchangeOnline}...WARNING: An error caused a change in the current set of domain controllers.
✅
Connecting to {MicrosoftGraph}...✅
Connecting to {MicrosoftTeams}...✅
Connecting to {PnP}...❌
One or more errors occurred.
Partial Export file was saved at: C:\Users\CHRIST~1\AppData\Local\Temp\e1752b68-6ae7-4359-addf-68a87b2f55e4.partial.ps1
ykuijs commented 2 years ago

This issue has the same issue as #2048:

The SCSensitivityLabel resource is using a Settings parameter. This works fine when extracting the configuration, but the Delta report and Documentation generation is using the DSCParser module. That module is treating this Settings parameter incorrectly. This needs to get changed to another name, which is a breaking change.

andikrueger commented 1 year ago

Breaking change for SCSensitivityLabel is tracked in #2314

NikCharlebois commented 1 year ago

Are you folks able to replicate using the latest versions of the Module? I am able to generate reports on SCSensitivityLabel without any issues, even when the Settings parameter is populated.

NikCharlebois commented 1 year ago

Closing due to inactivity