Priority
(Low) Something is a little off
Description
When the command has option output set to csv and the response contains a bool property with false value then the false value is omitted from csv output.
Steps to reproduce
Run m365 entra group get --id <group_id> --output csv for any group that has the securityEnabled property set to false.
Expected results
id,deletedDateTime,classification,createdDateTime,description,displayName,expirationDateTime,isAssignableToRole,mail,mailEnabled,mailNickname,membershipRule,membershipRuleProcessingState,onPremisesDomainName,onPremisesLastSyncDateTime,onPremisesNetBiosName,onPremisesSamAccountName,onPremisesSecurityIdentifier,onPremisesSyncEnabled,preferredDataLocation,preferredLanguage,renewedDateTime,securityEnabled,securityIdentifier,theme,uniqueName,visibility
f23097cb-de3f-40f5-ba8f-c8c5ae6746b8,,,2024-09-03T04:56:38Z,test,Software Eng,,,sw@contoso,1,sw,,,,,,,,,,,2024-09-03T04:56:38Z,0,S-1-12-1-4063270859-1089855039-3318255546-3091621806,,,Public
Actual results
id,deletedDateTime,classification,createdDateTime,description,displayName,expirationDateTime,isAssignableToRole,mail,mailEnabled,mailNickname,membershipRule,membershipRuleProcessingState,onPremisesDomainName,onPremisesLastSyncDateTime,onPremisesNetBiosName,onPremisesSamAccountName,onPremisesSecurityIdentifier,onPremisesSyncEnabled,preferredDataLocation,preferredLanguage,renewedDateTime,securityEnabled,securityIdentifier,theme,uniqueName,visibility
f23097cb-de3f-40f5-ba8f-c8c5ae6746b8,,,2024-09-03T04:56:38Z,test,Software Eng,,,sw@contoso,1,sw,,,,,,,,,,,2024-09-03T04:56:38Z,,S-1-12-1-4063270859-1089855039-3318255546-3091621806,,,Public
Diagnostics
No response
CLI for Microsoft 365 version
v9.1.0
nodejs version
v20.8.1
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response
Priority
(Low) Something is a little off
Description
When the command has option
outputset to csv and the response contains a bool property with false value then the false value is omitted from csv output.Steps to reproduce
Run
m365 entra group get --id <group_id> --output csvfor any group that has thesecurityEnabledproperty set tofalse.Expected results
Actual results
Diagnostics
No response
CLI for Microsoft 365 version
v9.1.0
nodejs version
v20.8.1
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response