Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

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

Authentication Service ,  

4 May,18 at 12:11 AM

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." 
Attachments:

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.