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
Hello, when attempting to run the below DSC Configuration I am getting two errors that I can't seem to decipher:
I am specifically trying to copy AADApplications
I am using a Global Administrator credential without MFA and have run Update-M365DSCAllowedGraphScopes -ResourceNameList @("AADApplication") -Type Update to allow delegated rights to the admin account prior to the DscConfiguration.
Not sure why its erroring on a certificate when I created the mof file with the global admin credential.
VERBOSE: [5CG2520YHZ]: LCM: [ Start Resource ] [[AADApplication]AADApplication-rdms-webapp-test]
VERBOSE: [5CG2520YHZ]: LCM: [ Start Test ] [[AADApplication]AADApplication-rdms-webapp-test]
VERBOSE: [5CG2520YHZ]:[[AADApplication]AADApplication-rdms-webapp-test] Testing configuration of AzureAD Application Cannot find path '\LocalMachine\My\3309F4FB3E3D29F9C2B6F7627B6A5BFEDCFECF35' because it does not exist.
+ CategoryInfo : ObjectNotFound: (\LocalMachine\M...B6A5BFEDCFECF35:) [], CimException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
+ PSComputerName : localhost
VERBOSE: [5CG2520YHZ]: LCM: [ End Test ] [[AADApplication]AADApplication-rdms-webapp-test] in 0.0940 seconds. PowerShell DSC resource MSFT_AADApplication failed to execute Test-TargetResource functionality with error message: Must specify 'CertificateThumbprint or CertificateSubjectName or Certificate'.
Description of the issue
Hello, when attempting to run the below DSC Configuration I am getting two errors that I can't seem to decipher:
I am specifically trying to copy AADApplications
I am using a Global Administrator credential without MFA and have run Update-M365DSCAllowedGraphScopes -ResourceNameList @("AADApplication") -Type Update to allow delegated rights to the admin account prior to the DscConfiguration.
Not sure why its erroring on a certificate when I created the mof file with the global admin credential.
Start-DscConfiguration -Path C:\Scripts\Test\M365TenantConfig\ -Wait -Verbose -Force
VERBOSE: [5CG2520YHZ]: LCM: [ Start Resource ] [[AADApplication]AADApplication-rdms-webapp-test]
VERBOSE: [5CG2520YHZ]: LCM: [ Start Test ] [[AADApplication]AADApplication-rdms-webapp-test]
VERBOSE: [5CG2520YHZ]:[[AADApplication]AADApplication-rdms-webapp-test] Testing configuration of AzureAD Application Cannot find path '\LocalMachine\My\3309F4FB3E3D29F9C2B6F7627B6A5BFEDCFECF35' because it does not exist.
+ CategoryInfo : ObjectNotFound: (\LocalMachine\M...B6A5BFEDCFECF35:) [], CimException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
+ PSComputerName : localhost
VERBOSE: [5CG2520YHZ]: LCM: [ End Test ] [[AADApplication]AADApplication-rdms-webapp-test] in 0.0940 seconds. PowerShell DSC resource MSFT_AADApplication failed to execute Test-TargetResource functionality with error message: Must specify 'CertificateThumbprint or CertificateSubjectName or Certificate'.
Microsoft 365 DSC Version
1.25.212.2
Which workloads are affected
Azure Active Directory (Entra ID)
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: