I am call dynamic 365 api from outside the crm. I am following below document however i am getting authentication 401 error even after giving the correct token. I am follwoing below steps
curl -X GET -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlZXVkljMVdEMVRrc2JiMzAxc2FzTTVrT3E1USIsImtpZCI6IlZXVkljMVdEMVRrc2JiMzAxc2FzTTVrT3E1USJ9.eyJhdWQiOiIwMDAwMDAwMi0wMDAwLTAwMDAtYzAwMC0wMDAwMDAwMDAwMDAiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC9jZWUzMDZlYS0xMzY2LTQ2ZDItYmEyMS01ZGZkOTMzODVhZGIvIiwiaWF0IjoxNTAyNDQyNzc5LCJuYmYiOjE1MDI0NDI3NzksImV4cCI6MTUwMjQ0NjY3OSwiYWlvIjoiWTJGZ1lKQXlONTNlMEsyME1aWHIveHlGN3BkOEFBPT0iLCJhcHBpZCI6Ijk2YWQzNjQ4LTdhNjQtNDYyZi04YjU0LTEwN2UxNDdmZDcyOCIsImFwcGlkYWNyIjoiMSIsImlkcCI6Imh0dHBzOi8vc3RzLndpbmRvd3MubmV0L2NlZTMwNmVhLTEzNjYtNDZkMi1iYTIxLTVkZmQ5MzM4NWFkYi8iLCJvaWQiOiJlNDJlNjgyYS0yMzc1LTQyZDUtYjc1OC1iOTk0MWM0YmY5MjIiLCJzdWIiOiJlNDJlNjgyYS0yMzc1LTQyZDUtYjc1OC1iOTk0MWM0YmY5MjIiLCJ0ZW5hbnRfcmVnaW9uX3Njb3BlIjoiQVMiLCJ0aWQiOiJjZWUzMDZlYS0xMzY2LTQ2ZDItYmEyMS01ZGZkOTMzODVhZGIiLCJ1dGkiOiJ3YUhMWDB0UXZrS2xOVVQ5alJ3cEFBIiwidmVyIjoiMS4wIn0.ikd6qZyo4VfZe0b6oJs2zL5tV-5sK8Cj36ppXSojPcRwx0dkT0wCXqgeqcWPQsTIkVpAznYKWKjk7VMH7k5Tooem3zSVMzHeMJb-q_uHB6jKTmorDpUYYjxUPxOI_XpTRfsDlSHoMu_o_yVzV0hy0DR6dqLyBfNrSwVxMw7C6TfwViIlp7p9CfwR4zVNg8OL7AtHUF-StW6J-Zw97uc83Ef7tkSyzdT1GNM0HA1MrkbLlrlBfSlayvfX3FdUNDoZw5L-kx8H7vz39YCOXc9DiteMtj2UwARaa58BmDtpyHBHqJIZkf_Gg5tlc212wjZqQYYW0RaZi4XR4u3rgp8RVQ" 'fusioncx.api.crm8.dynamics.com/.../v8.2'
Response :
HTTP Error 401 - Unauthorized: Access is denied
Please suggest how can i resolve it.
*This post is locked for comments