Hi Guys,
I was consuming web api on D365 portal app for updating record. My code was working fine few days before but now looks like after update it is throwing an error.
90040107 Request validation failed : Validation of the provided anti-forgery token failed. The cookie __RequestVerificationToken and the form field __RequestVerificationToken were swapped
Any help would appreciated.
Regards,
Awais
It is Event Management Portal App, written in Angular typescript. I have added webapi call in it.
That doesn't look like Portals Web API.. is this a custom Azure Functions or something like that?
Take a look at the authentication token via Admin Center: https://docs.microsoft.com/en-us/powerapps/maker/portals/admin/manage-auth-key
This key expires every two years and can be renewed quickly from there.
Fubar
62
Super User 2025 Season 2
Lucas001
48
Super User 2025 Season 2
KevinGador
44
Super User 2025 Season 2