E-1005 The SSO token used for RDP file authentication has either expired or is invalid. Please generate a new RDP file.

E-1005 The SSO token used for RDP file authentication has either expired or is invalid. Please generate a new RDP file.

132
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:12 PM


Objective


  • The customer can get this error when trying to connect with SIA-RDP:

 

E-1005 The SSO token used for RDP file authentication has either expired or is invalid. Please generate a new RDP file.

 

  • This is because the customer has an IP enforcement on the connection:

    The connection generates the RDP file with IPv6 but connects it with IPv4.

 

  • Another reason is that there is a proxy on the client, and it generates the RDP file with one IP from the browser, and the client connects to the RDP file from another IP.

 

 

 



Environment


Secure Infrastructure Access (formerly DPA) DPA for RDP

Procedure


*** R&D updated the way to control IP enforcement through a UI toggle in the SIA settings page ***

 

 

 

 

 

 

 

We need to send an REST request via Postman or any equivalent software to change that and remove the customer's IP enforcement.

 

This is a self-service resolution:

First, the customer will need to authenticate with the tenant admin credentials and then send a PATCH request:

PATCH https://<tenant URL>.cloud/api/settings

 

With the following payload:

 

{
"rdpMfaCaching": {
"clientIpEnforced": false
}
}
The response should be:
{
"rdpMfaCaching": {
"isMfaCachingEnabled": false,
"keyExpirationTimeSec": 60,
"clientIpEnforced": false,
"tokenUsageCount": 0
}
}

The important part is "clientIpEnforced," where the value is "false," which validates that the value was changed.

 

We should get a response similar to this:

 

{
"rdpMfaCaching": {
"isMfaCachingEnabled": true,
"keyExpirationTimeSec": 60,
"clientIpEnforced": false,
"tokenUsageCount": 0
}
}

 

Then, the customer can recheck the connection from the affected client, which should work as expected.



Actions
  • Print
  • Copy Link

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