Dear all,
I am facing a strange issue with the command:
Get-NsxApplicableMember -SecurityGroupApplicableMembers -MemberType DirectoryGroup
I have 4 NSX Managers (2 in one site and 2 in another one)
In each site 1 is deployed in the Management vCenter (let's call it NSXM-1 and NSXM-2) and 1 in the Workload vCenter (NSXW-1 and NSXW-2)
When I run the command against NSXM-1 or NSXM-2 it works fine.
But if I do the same against NSXW-1 and NSXW-2 it gives me this error:
Please note that I can search Directory Groups from the GUI, I have no problem with that!
I get an error only when using PowerNSX CLI, and I would like to use it to automate some tasks.
All 4 NSX Managers are at the same version, commands have been executed from the same workstation...
100`
All the other GET API calls like:
https://NSXW-1/api/2.0/services/securitygroup/scope/globalroot-0/members/SecurityGroup
https://NSXW-1/api/2.0/services/securitygroup/scope/globalroot-0/members/VirtualMachine
works fine!
Can anyone solve this mistery?
Best Regards,
Claudio
Dear all, I am facing a strange issue with the command: Get-NsxApplicableMember -SecurityGroupApplicableMembers -MemberType DirectoryGroup
I have 4 NSX Managers (2 in one site and 2 in another one) In each site 1 is deployed in the Management vCenter (let's call it NSXM-1 and NSXM-2) and 1 in the Workload vCenter (NSXW-1 and NSXW-2)
When I run the command against NSXM-1 or NSXM-2 it works fine. But if I do the same against NSXW-1 and NSXW-2 it gives me this error:
Please note that I can search Directory Groups from the GUI, I have no problem with that! I get an error only when using PowerNSX CLI, and I would like to use it to automate some tasks.
All 4 NSX Managers are at the same version, commands have been executed from the same workstation...
EDIT: If I run a GET API call to:
https://NSXW-1/api/2.0/services/securitygroup/scope/globalroot-0/members/DirectoryGroup and https://NSXW-2/api/2.0/services/securitygroup/scope/globalroot-0/members/DirectoryGroup
I get this error:
`<?xml version="1.0" encoding="UTF-8"?>