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
{InvalidData}
System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'AppName' because it is an empty string.
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
"Error during Export:"
at Export-TargetResource, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.25.219.2\DSCResources\MSFT_EXOServicePrincipal\MSFT_EXOServicePrincipal.psm1: line 374
at Start-M365DSCConfigurationExtract, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.25.219.2\Modules\M365DSCReverse.psm1: line 689
at Export-M365DSCConfiguration, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.25.219.2\Modules\M365DSCUtil.psm1: line 1512
at <ScriptBlock>,<No file>: line 1
Environment Information + PowerShell Version
Get-ComputerInfo-Property @(
'OsName','OsOperatingSystemSKU','OSArchitecture','WindowsVersion','WindowsBuildLabEx','OsLanguage','OsMuiLanguages')
$PSVersionTable
OsName : Microsoft Windows 11 Enterprise
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture : 64-bit
WindowsVersion : 2009
WindowsBuildLabEx : 22621.1.amd64fre.ni_release.220506-1250
OsLanguage : en-US
OsMuiLanguages : {en-US}
Key : PSVersion
Value : 5.1.22621.4391
Name : PSVersion
Key : PSEdition
Value : Desktop
Name : PSEdition
Key : PSCompatibleVersions
Value : {1.0,2.0,3.0,4.0...}
Name : PSCompatibleVersions
Key : BuildVersion
Value : 10.0.22621.4391
Name : BuildVersion
Key : CLRVersion
Value : 4.0.30319.42000
Name : CLRVersion
Key : WSManStackVersion
Value : 3.0
Name : WSManStackVersion
Key : PSRemotingProtocolVersion
Value : 2.3
Name : PSRemotingProtocolVersion
Key : SerializationVersion
Value : 1.1.0.1
Name : SerializationVersion
The text was updated successfully, but these errors were encountered:
Description of the issue
WorkLoad : Exchange
Resource : EXOServicePrincipal
Error : Cannot bind argument to parameter 'AppName' because it is an empty string.
The error experience during export.
But running Get-ServicePrincipal | FL in Powershell got this result
DisplayName : test
AppId : xxxxxxx
ObjectId : xxxxxxx
Sid : xxxx
SidHistory : {}
Identity : xxxxxxx
Id : xxxxxxx
IsValid : True
ExchangeVersion : 1.1 (15.0.0.0)
Name : xxxxxxxxxx
DistinguishedName : CN=xxxxxxxxx,OU=xxxxxx.onmicrosoft.com,OU=Microsoft Exchange Hosted
Organizations,DC=xxxxxx,DC=DEV,DC=OUTLOOK,DC=COM
ObjectCategory : xxxxxx.DEV.OUTLOOK.COM/Configuration/Schema/Person
ObjectClass : {top, person, organizationalPerson, user}
WhenChanged : 8/20/2024 1:22:30 AM
WhenCreated : 8/20/2024 12:05:00 PM
WhenChangedUTC : 8/18/2024 6:25:30 PM
WhenCreatedUTC : 8/14/2024 7:05:27 AM
ExchangeObjectId : xxxxxx
OrganizationalUnitRoot : xxxxx.onmicrosoft.com
OrganizationId : xxxxx.DEV.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/xxxxxx.onmicrosoft.com -
xxxxx.DEV.OUTLOOK.COM/ConfigurationUnits/xxxxxx.onmicrosoft.com/Configuration
Guid : xxxxxxx
OriginatingServer : xxxxx.DEV.OUTLOOK.COM
ObjectState : Changed
Microsoft 365 DSC Version
1.25.219.2
Which workloads are affected
Exchange Online
The DSC configuration
n/a
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: