Remote Access API - Return Code: 404

Remote Access API - Return Code: 404

119
Created On 11/10/26 10:53 AM - Last Modified 11/10/26 15:50 PM


Symptom


When submitting Remote Access API requests using a Service Account that was created by a Tenant Admin, who is no longer active or has been removed from the Tenant, the result is Return code 404:  The requested resource could not be found, or the user does not have permissions for this resource.

 

The issue does not occur when manually performing the same action in Remote Access portal as Tenant Admin.

 

Example of failing API:

 

Method: GET

URI: https://api.alero.io/v2-edge/vendors/phone/{phonenumber}

Return code: 404

Body: Vendor with phone number {phonenumber} in not found



Environment


12.0 Remote Access (formerly Alero) Alero SaaS

Remote Access API



Cause


The Remote Access Tenant Admin that originally created the Service Account for authentication to the Remote Access API is no longer active in the tenant and/or has been removed from the Remote Access tenant.



Resolution


Create a new Service Account with an active Remote Access Tenant Admin:

 

  1. In the Remote Access portal, go to Identities > Service accounts.
  2. Click Create Service Account to display the Create Service Account form, and set the service account properties.
  3. Click Create Service Account to create the .json file that is required to make the API calls, and save it on your computer.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000k66CAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail