Getting invalid token on web api for dynamics

I am making the call organisationUri/api/data/v8.0/contacts GET request through postman -
Screen-Shot-2018-04-17-at-2.20.10-AM.pngScreen-Shot-2018-04-17-at-2.20.23-AM.pngGetting invalid auth token.
what could be the reason for that..
The authToken is not expired becasue i generated a fresh one.
Also i request authToken with the scope - Directory.Read.All Directory.AccessAsUser.All offline_access User.Read
could it be because of the scope that i am using .

Rohit BajajAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rikin ShahMicrosoft Dynamics CRM ConsultantCommented:
Have you created any application on Azure AD for this? Do you have a client id?

Check this post and answer given in it-

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rohit BajajAuthor Commented:
yes I have created an application here -
I found this is the latest way probably to create an application...Other way is to directly go to azure and create the application.
Is there any difference between the two ??
I am getting accessToken... But i guess some problem with specifying scopes to read Leads data etc.
Rikin ShahMicrosoft Dynamics CRM ConsultantCommented:
Which technology is used for the application? .net or JavaScript?

If you're using .net, you should have a client id to connect and authenticate your application. Check the link I posted earlier in the comment.
Rohit BajajAuthor Commented:
I spotted something of my application on azure portal :
Screen-Shot-2018-04-17-at-5.25.52-PM.pngI think due to this I am unable to access crm data as the application does not have privelge to access data...
But I wanted to do this for testing purpose create an application and then access the data on the dynamics crm for the same user..
How do i do that...
I think for testing pupose azure should allow me as admin... Is there any way ??
Rikin ShahMicrosoft Dynamics CRM ConsultantCommented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Dynamics

From novice to tech pro — start learning today.