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
I am new to this system, but i need to get it working, I have a large number of tenants I would like to centrally manage, however I am have a few problems getting going.
I am unable to create a backup of my central tenant, every time I try I get permissions issues, I have tried with Username and Password, Application and Certificate
The main issue appears to be Exchange and connecting to it, it throws an error everytime.
I want to use Application ID as I move around a bit (no I'm not on the run) so I can just run a set of scripts .
Where am I going wrong please?
David
Microsoft 365 DSC Version
1.25.122.2
Which workloads are affected
Exchange Online
The DSC configuration
# Getting application information for Application + Secret authentication$ApplicationId='xxxxxxxxxxxxxxxx'$ApplicationSecret='xxxxxxxxxxxxxxx'$TenantId='xxxxxxxxxxxxxxx'# Generated by Microsoft365DSC from https://export.microsoft365dsc.com on 29/01/2025, 09:40:14# Visit https://microsoft365dsc.com for more information# Exporting resources using applicationExport-M365DSCConfiguration-Components @("AADConditionalAccessPolicy","EXOGlobalAddressList","IntuneDeviceEnrollmentStatusPageWindows10","O365OrgSettings","ODSettings","PlannerBucket","PPPowerAppsEnvironment","SCDLPComplianceRule","SPOSite","TeamsChannel") -ApplicationId $ApplicationId-ApplicationSecret $ApplicationSecret-TenantId $TenantId
Verbose logs showing the problem
Application Id: 5e3921b5-xxxxxxxxxx
Application Secret: 56b0046e-xxxxxxxxxxxxxxxxx
Tenant Id: mglxxxxxxxxxxxx.com
Exporting Microsoft 365 configuration for Components: AADConditionalAccessPolicy, EXOGlobalAddressList, IntuneDeviceEnrollmentStatusPageWindows10, O365OrgSettings, ODSettings, PlannerBucket, PPPowerAppsEnvironment, SCDLPComplianceRule, SPOSite, TeamsChannel
Authentication methods specified:
- Service Principal with Application Secret
Connecting to {ExchangeOnline}...❌
Partial Export file was saved at: C:\Users\DAVIDC~1\AppData\Local\Temp\c7738649-5797-41ef-bf6b-6fb553fc8cec.partial.ps1
No valid authentication type found
At C:\Program Files\WindowsPowerShell\Modules\MSCloudLoginAssistant\1.1.34\Workloads\ExchangeOnline.ps1:289 char:9+throw'No valid authentication type found'+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (No valid authentication type found:String) [], RuntimeException
+ FullyQualifiedErrorId : No valid authentication type found
Environment Information + PowerShell Version
Name Value
---------
PSVersion 5.1.26100.2161
PSEdition Desktop
PSCompatibleVersions {1.0,2.0,3.0,4.0...}
BuildVersion 10.0.26100.2161
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:
Description of the issue
HI All
I am new to this system, but i need to get it working, I have a large number of tenants I would like to centrally manage, however I am have a few problems getting going.
I am unable to create a backup of my central tenant, every time I try I get permissions issues, I have tried with Username and Password, Application and Certificate
The main issue appears to be Exchange and connecting to it, it throws an error everytime.
I want to use Application ID as I move around a bit (no I'm not on the run) so I can just run a set of scripts .
Where am I going wrong please?
David
Microsoft 365 DSC Version
1.25.122.2
Which workloads are affected
Exchange Online
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: