I have CRM v8 on premises solution with ADFS server authentication configured. I'm trying to use instance web API https://crmdomain/organization/api/data/v8.2/ from another c# application. I have added application group in ADFS using this article
in there when adding resource do we need to add https://crmdomain/organization as resource or https://crmdomain/organization/api/data/v8.2/ ?
I can generate access token but I cannot query data from entities tried to add token as bearer token return 401 unauthorized
e.g. https://crmdomain/organization/api/data/v8.2/contacts?$select=firstname,contactid,lastname&$filter=emailaddress1 eq 'valueemailaddress' return data when I browse with correct value in emailaddress. but both my c# coding and postman both return error 401
can anyone help me out to sort this please ?