You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling Get-FSRequesterGroupMember it is returning a list of Requester Groups, and not the membership in the group specified in the function parameter i.e. Get-FSRequesterGroupMember -id '2000009XXXX' -Verbose
Expected Behavior
The function should return an object containing the list of members of the group specified in the request.
Current Behavior
The function returns an object which contains the list of requester groups.
Possible Solution
Verify that the appropriate URL is being constructed in the module Get-FreshServiceRequesterGroupMember.ps1 There appears to be inconsistency in lines 72 & 73 as to which variable is referenced. (<- Don't know that this is the cause, but I just noticed the inconsistency, IANAP).
When calling Get-FSRequesterGroupMember it is returning a list of Requester Groups, and not the membership in the group specified in the function parameter i.e. Get-FSRequesterGroupMember -id '2000009XXXX' -Verbose
Expected Behavior
The function should return an object containing the list of members of the group specified in the request.
Current Behavior
The function returns an object which contains the list of requester groups.
Possible Solution
Verify that the appropriate URL is being constructed in the module Get-FreshServiceRequesterGroupMember.ps1 There appears to be inconsistency in lines 72 & 73 as to which variable is referenced. (<- Don't know that this is the cause, but I just noticed the inconsistency, IANAP).
Verbose output does not show the requester group ID nor the appended "/members" url path required by the API:
VERBOSE: Invoke-FreshworksRestMethod - Initiating REST API call to https://company.freshservice.com/api/v2/requester_groups?page=1&per_page=100
VERBOSE: Invoke-FreshworksRestMethod - Uri: https://company.freshservice.com/api/v2/requester_groups?page=1&per_page=100
I would expect the URI to contain:
https://company.freshservice.com/api/v2/requester_groups/2000009XXXX/members?page=1&per_page=100
Steps to Reproduce (for bugs)
Context
I'm trying to get a current list of the requester group members to synchronize them with an Active Directory group.
Your Environment
Module version: 0.1.6
Powershell version: PSVersion 5.1.19041.3031
Windows 10.0.19044
The text was updated successfully, but these errors were encountered: