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
Details of the scenario you tried and the problem that is occurring
When using AADServicePrincipal resource to create/update service principal the "ApplicationSecret" parameter is not removed from $CurrentParameters.
Verbose logs showing the problem
A parameter cannot be found that matches parameter name 'ApplicationSecret'.
+ CategoryInfo : InvalidArgument: (:) [], CimException
+ FullyQualifiedErrorId : NamedParameterNotFound,Update-MgServicePrincipal
PSComputerName : localhost
Suggested solution to the issue
In my testing removing 'ApplicationSecret' from $CurrentParameters has resolved this issue.
Details of the scenario you tried and the problem that is occurring
When using AADServicePrincipal resource to create/update service principal the "ApplicationSecret" parameter is not removed from $CurrentParameters.
Verbose logs showing the problem
Suggested solution to the issue
In my testing removing 'ApplicationSecret' from $CurrentParameters has resolved this issue.
The DSC configuration that is used to reproduce the issue (as detailed as possible)
The operating system the target node is running
Version of the DSC module that was used ('dev' if using current dev branch)
Version: 1.22.1130.1
The text was updated successfully, but these errors were encountered: