We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When creating a new AADUser the password is visible and logged in the verbose logging. I would prefer this to be obfuscated.
A second issue with the verbose logging is the extra empty line in linux:
2024-01-31T13:59:20.4370992Z VERBOSE: [tenant-M365DSC]: [[AADUser]AADUser_TestUser::[EntraID]EntraID_Configuration] 2024-01-31T13:59:20.4371297Z Creating new user with values: AccountEnabled=True 2024-01-31T13:59:20.4372095Z 2024-01-31T13:59:20.4377944Z City=Ghent 2024-01-31T13:59:20.4378417Z 2024-01-31T13:59:20.4382286Z Country=Belgium 2024-01-31T13:59:20.4382656Z 2024-01-31T13:59:20.4385255Z DisplayName=TestUser 2024-01-31T13:59:20.4387417Z 2024-01-31T13:59:20.4387659Z GivenName=Test 2024-01-31T13:59:20.4402068Z 2024-01-31T13:59:20.4406917Z MailNickName=testuser 2024-01-31T13:59:20.4409890Z 2024-01-31T13:59:20.4412810Z PasswordPolicies=None 2024-01-31T13:59:20.4413215Z 2024-01-31T13:59:20.4417387Z PasswordProfile={Password=MO6abcdZZH7;uFZe{^)01Un?T@m0N$} 2024-01-31T13:59:20.4420524Z 2024-01-31T13:59:20.4426522Z Surname=User 2024-01-31T13:59:20.4429465Z 2024-01-31T13:59:20.4435608Z UsageLocation=BE 2024-01-31T13:59:20.4438610Z 2024-01-31T13:59:20.4444759Z UserPrincipalName=[email protected]
2024-01-31T13:59:20.4370992Z VERBOSE: [tenant-M365DSC]: [[AADUser]AADUser_TestUser::[EntraID]EntraID_Configuration] 2024-01-31T13:59:20.4371297Z Creating new user with values: AccountEnabled=True 2024-01-31T13:59:20.4377944Z City=Ghent 2024-01-31T13:59:20.4382286Z Country=Belgium 2024-01-31T13:59:20.4385255Z DisplayName=TestUser 2024-01-31T13:59:20.4387659Z GivenName=Test 2024-01-31T13:59:20.4406917Z MailNickName=testuser 2024-01-31T13:59:20.4412810Z PasswordPolicies=None 2024-01-31T13:59:20.4417387Z PasswordProfile={Password=***} 2024-01-31T13:59:20.4426522Z Surname=User 2024-01-31T13:59:20.4435608Z UsageLocation=BE 2024-01-31T13:59:20.4444759Z UserPrincipalName=[email protected]
Release 1.24.228.1
other
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description of the issue
When creating a new AADUser the password is visible and logged in the verbose logging. I would prefer this to be obfuscated.
A second issue with the verbose logging is the extra empty line in linux:
Current situation
2024-01-31T13:59:20.4370992Z VERBOSE: [tenant-M365DSC]: [[AADUser]AADUser_TestUser::[EntraID]EntraID_Configuration]
2024-01-31T13:59:20.4371297Z Creating new user with values: AccountEnabled=True
2024-01-31T13:59:20.4372095Z
2024-01-31T13:59:20.4377944Z City=Ghent
2024-01-31T13:59:20.4378417Z
2024-01-31T13:59:20.4382286Z Country=Belgium
2024-01-31T13:59:20.4382656Z
2024-01-31T13:59:20.4385255Z DisplayName=TestUser
2024-01-31T13:59:20.4387417Z
2024-01-31T13:59:20.4387659Z GivenName=Test
2024-01-31T13:59:20.4402068Z
2024-01-31T13:59:20.4406917Z MailNickName=testuser
2024-01-31T13:59:20.4409890Z
2024-01-31T13:59:20.4412810Z PasswordPolicies=None
2024-01-31T13:59:20.4413215Z
2024-01-31T13:59:20.4417387Z PasswordProfile={Password=MO6abcdZZH7;uFZe{^)01Un?T@m0N$}
2024-01-31T13:59:20.4420524Z
2024-01-31T13:59:20.4426522Z Surname=User
2024-01-31T13:59:20.4429465Z
2024-01-31T13:59:20.4435608Z UsageLocation=BE
2024-01-31T13:59:20.4438610Z
2024-01-31T13:59:20.4444759Z UserPrincipalName=[email protected]
New situation
2024-01-31T13:59:20.4370992Z VERBOSE: [tenant-M365DSC]: [[AADUser]AADUser_TestUser::[EntraID]EntraID_Configuration]
2024-01-31T13:59:20.4371297Z Creating new user with values: AccountEnabled=True
2024-01-31T13:59:20.4377944Z City=Ghent
2024-01-31T13:59:20.4382286Z Country=Belgium
2024-01-31T13:59:20.4385255Z DisplayName=TestUser
2024-01-31T13:59:20.4387659Z GivenName=Test
2024-01-31T13:59:20.4406917Z MailNickName=testuser
2024-01-31T13:59:20.4412810Z PasswordPolicies=None
2024-01-31T13:59:20.4417387Z PasswordProfile={Password=***}
2024-01-31T13:59:20.4426522Z Surname=User
2024-01-31T13:59:20.4435608Z UsageLocation=BE
2024-01-31T13:59:20.4444759Z UserPrincipalName=[email protected]
Microsoft 365 DSC Version
Release 1.24.228.1
Which workloads are affected
other
The DSC configuration
No response
Verbose logs showing the problem
No response
Environment Information + PowerShell Version
No response
The text was updated successfully, but these errors were encountered: