Power Automate: "Request Unauthorized" (401) error with the Verified connector
If the Verified connector in Microsoft Power Automate (also used in Microsoft Dynamics 365) fails with "Request Unauthorized, Token usage is restricted" (error 401), the cause is usually IP locking.
Why it happens
For security, Verified's API locks an access token to the IP address it was created from. See IP locking in the API documentation. Power Automate can switch IP addresses between steps of a flow, so the token is rejected.
How to fix it
The token must be generated without the IP lock. Do this by adding the parameter withoutIpLock=1 to the authentication request:
POST https://app.verified.eu/api/auth?withoutIpLock=1
If you use the official connector: the fix needs an updated connector version that sends this parameter. Contact the connector's provider, CRM-Konsulterna (support@crmkonsulterna.se), to check whether an updated version is available.
Temporary workaround: create a custom copy of the Verified connector in Power Automate, and edit its Generate Token action so it always sends withoutIpLock=1. Then point your flows to the copy and turn off the flows that use the original connector.
The workaround turns off a security feature for these tokens. Use it only until an updated official connector is available, and keep your connector credentials safe.
See also the Verified connector in Microsoft's documentation.