Salesforce

KB-5180: Does PowerShell module support with DirectControl in classic zones?

« Go Back

Information

 
TitleKB-5180: Does PowerShell module support with DirectControl in classic zones?
URL NameKB-5180-Does-PowerShell-module-support-with-DirectControl-in-classic-zones
Knowledge Article TypeProblem / Resolution
Article TypeKnowledge
ArticleType 
ProductCentrify DirectManage
Component 
Version 
Tagspowershell, classic zones, classic, powershell support classic zones, error in powerhsell, Error: Get-CdmComputerRole
Internal CommentsCase 150304-064353
Article Edits
Bug #
Solution ID
Knowledge Base Article Details
Applies to:  Centrify DirectControl Access Module for PowerShell

Question:

The below error may occur when trying to use a PowerShell module on Windows for Classic Zone environments:
 
Error: Get-CdmComputerRole : PowerShell module does not support classic zone DirectAuthorize

Does the PowerShell API on Windows support Classic Zones?  


Answer:

The above error is expected.  Per our powershell documentation (attached), page 14:
 
"In most cases, you can use cmdlets to manipulate Centrify objects in any type of zone. However, because the implementation of authorization differs greatly in hierarchical zones from authorization in classic zones, the Access Module for Window PowerShell cmdlets that enable you to create and work with rights, roles, or role assignments are only applicable in hierarchical zones. You should not use the cmdlets for rights, roles, and role assignments in classic zones." 
Created ByMeilani Widodo
Solution CreatorMeilani Widodo
DraftNot Checked
LithiumId
Lithium_Board_Id
Lithium_View_Href
Tags 
Category 
ArticleImage
Known IssuesNot Checked

Powered by