Skip to main content

MachineAccountRecommendation

Properties​

NameTypeDescriptionNotes
IdStringRecommendation ID.[optional]
AccountIdStringID of the account the recommendation is for.[optional]
SourceIdStringID of the source the account belongs to.[optional]
IsMachineBooleanIndicates whether the account is recommended as a machine account.[optional] [default to $false]
Explanation[]MachineAccountRecommendationExplanationReasons that contributed to the recommendation.[optional]
CreatedSystem.DateTimeDate and time when the recommendation was created.[optional]
RecommendationStringRecommendation result.[optional]
RecommendationTypeStringType of recommendation.[optional]
AlgorithmStringAlgorithm that produced the recommendation.[optional]

Examples​

  • Prepare the resource
$MachineAccountRecommendation = Initialize-MachineAccountRecommendation -Id 2c9180835d2e5168015d32f890ca1581 `
-AccountId 2c9180835d2e5168015d32f890ca1581 `
-SourceId 2c9180835d2e5168015d32f890ca1581 `
-IsMachine true `
-Explanation null `
-Created 2026-01-15T10:00Z `
-Recommendation MACHINE `
-RecommendationType MACHINE_ACCOUNT_DISCOVERY `
-Algorithm v1
  • Convert the resource to JSON
$MachineAccountRecommendation | ConvertTo-JSON

[Back to top]