You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to export SPO/ODfB configuration via the the following command, using admin credentials:
Export-M365DSCConfiguration -Components @("ODSettings", "SPOAccessControlSettings", "SPOApp", "SPOBrowserIdleSignout", "SPOHomeSite", "SPOHubSite", "SPOOrgAssetsLibrary", "SPOSearchManagedProperty", "SPOSearchResultSource", "SPOSharingSettings", "SPOSiteDesign", "SPOSiteDesignRights", "SPOSiteScript", "SPOStorageEntity", "SPOTenantCdnEnabled", "SPOTenantCdnPolicy", "SPOTenantSettings", "SPOTheme") -Credential $cred -Path "\Path" -FileName SPO_config.ps1
Unfortunately I get the following error message and when searching for the supposed temp file, there is none in the D:\Temp folder
Authentication methods specified:
Credentials
Connecting to {PnP}...❌
Partial Export file was saved at: D:\Temp\39d23d0d-5861-40e1-8348-7b03053744a8.partial.ps1
An error has occurred AADSTS700016: Application with identifier 'APPID' was not found in the directory 'DIRECTORY'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant. Trace ID:
TRACEID Correlation ID: CORRID Timestamp: 2024-12-09 12:50:13Z
At C:\Users\user1\Documents\WindowsPowerShell\Modules\MSCloudLoginAssistant\1.1.7\Workloads\PnP.psm1:406 char:13
throw $message
~~~~~~~~~~~~~~
CategoryInfo : OperationStopped: (An error has oc...12-09 12:50:13Z:String) [], RuntimeException
FullyQualifiedErrorId : An error has occurred AADSTS700016: Application with identifier 'APPID' was not found in the directory 'DIRECTORY'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant. Trace ID:
TRACEID Correlation ID: CORRID Timestamp: 2024-12-09 12:50:13Z
This was the case since the moment I started testing the M365 DSC tool several months back but then at least the temp file was indeed present with some data in it which is not the case anymore.
Would someone be able to help me narrow down this issue?
With Regards! :)
Microsoft 365 DSC Version
1.24.124.1
Which workloads are affected
SharePoint Online, OneDrive for Business
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
Get-ComputerInfo
OsName : Microsoft Windows Server 2016 Standard
OsOperatingSystemSKU : StandardServerEdition
OsArchitecture : 64-bit
WindowsBuildLabEx : 14393.7070.amd64fre.rs1_release.240606-1636
OsLanguage : en-US
OsMuiLanguages : {en-US}
$PSVersionTable
Name Value
---------
PSVersion 5.1.14393.6343
PSEdition Desktop
PSCompatibleVersions {1.0,2.0,3.0,4.0...}
BuildVersion 10.0.14393.6343
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
The text was updated successfully, but these errors were encountered:
Please try to use a more recent version of Microsoft365DSC.
Since September 9th, PnP PowerShell no longer supports the Enterprise Application that was available in Entra ID. So you now should use your own application registration. More info here:
Description of the issue
Hi, I'm trying to export SPO/ODfB configuration via the the following command, using admin credentials:
Export-M365DSCConfiguration -Components @("ODSettings", "SPOAccessControlSettings", "SPOApp", "SPOBrowserIdleSignout", "SPOHomeSite", "SPOHubSite", "SPOOrgAssetsLibrary", "SPOSearchManagedProperty", "SPOSearchResultSource", "SPOSharingSettings", "SPOSiteDesign", "SPOSiteDesignRights", "SPOSiteScript", "SPOStorageEntity", "SPOTenantCdnEnabled", "SPOTenantCdnPolicy", "SPOTenantSettings", "SPOTheme") -Credential $cred -Path "\Path" -FileName SPO_config.ps1
Unfortunately I get the following error message and when searching for the supposed temp file, there is none in the D:\Temp folder
Authentication methods specified:
Connecting to {PnP}...❌
Partial Export file was saved at: D:\Temp\39d23d0d-5861-40e1-8348-7b03053744a8.partial.ps1
An error has occurred AADSTS700016: Application with identifier 'APPID' was not found in the directory 'DIRECTORY'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant. Trace ID:
TRACEID Correlation ID: CORRID Timestamp: 2024-12-09 12:50:13Z
At C:\Users\user1\Documents\WindowsPowerShell\Modules\MSCloudLoginAssistant\1.1.7\Workloads\PnP.psm1:406 char:13
TRACEID Correlation ID: CORRID Timestamp: 2024-12-09 12:50:13Z
This was the case since the moment I started testing the M365 DSC tool several months back but then at least the temp file was indeed present with some data in it which is not the case anymore.
Would someone be able to help me narrow down this issue?
With Regards! :)
Microsoft 365 DSC Version
1.24.124.1
Which workloads are affected
SharePoint Online, OneDrive for Business
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: