Update Auth API to latest version in flow designer action "computersinventory"DescriptionDuring computer data source in SG-JAMF, If the pagination is going for more than 30 min, we are using a different API (uapi/auth/token) to get the auth token, and it is giving 401 error.Steps to Reproduce -> Run the SG-JAMF computers datasource, after enabling jamf pro API in setup.-> We can observe the first call i.e auth call API is /uapi/auth/tokens. But it should be /api/v1/auth/token.WorkaroundThe issue can be worked around in one of two ways: There are two calls to the deprecated endpoint in the Flow Designer action. The one shown above and another in the ‘Pagination Setup step’ on line 13. Changing ‘/uapi/auth/tokens’ to ‘/api/v1/auth/token’ in both steps will resolve the issue.The second method is to uncheck the ‘Use JAMF Pro API’ checkbox. This will turn off pagination and will avoid the call to the deprecate endpoint. However, there may be some performance implications. Open computersinventory flow action 1. Update the code in script step from '/uapi/auth/token' to '/api/v1/auth/token' as below. (function execute(inputs, outputs) { var input = {}; input['connection_alias'] = inputs.connection_alias_in; input['resource_path_prefix'] = '/api/v1/auth/token'; var output = sn_fd.FlowAPI.executeAction('sn_jamf_integrate.authtoken', input); outputs.token = output.token; outputs.expires = output.expires; })(inputs, outputs); 2. Update the code in the Pagination Setup step as per below and then save, publish the flow action. Please find the updated code. (function paginate(variables, pageResponse) { var tokenRefreshTimeThresholdInSec = parseInt(gs.getProperty('sn_jamf_integrate.token_refresh_time_threshold_in_sec', 300)); var page = parseInt(variables.page); variables.getNextPage = true; variables.page = (page + 1) + ""; var currentTime = new GlideDateTime(); var expireGlideTime = new GlideDateTime(variables.tokenExpiryTime.split('.')[0]); var timeDiffInSec = (expireGlideTime.getNumericValue() - currentTime.getNumericValue()) / 1000; if (timeDiffInSec < tokenRefreshTimeThresholdInSec) { var connectionAlias = new GlideRecord("sys_alias"); connectionAlias.get(variables.connection_alias_sys_id); var input = {}; input['connection_alias'] = connectionAlias; input['resource_path_prefix'] = '/api/v1/auth/token'; var output = sn_fd.FlowAPI.executeAction('sn_jamf_integrate.authtoken', input); variables.token = output.token; variables.tokenExpiryTime = output.expires; //format : yyyy-MM-dd'T'HH:mm:ss.SSSZ } })(variables, pageResponse); You can refer the below screenshot as well with updated code. Related Problem: PRB1754132