Fetch contact from MS Dynamics CRM Web API with PHP -


i'm using jamesmcq's library (https://github.com/jamesmcq/oidc-aad-php-library) connect , fetch contacts data microsoft dynamics crm online php. have logged in via oauth , got token, when i'm trying access crm web api access_token, got following exception:

aadsts65001: user or administrator has not consented use application id 'xxxxxx-xxxxxx-xxxx-xxx-xxxxxxx'. send interactive authorization request user , resource. 

i found answer: https://stackoverflow.com/a/34885153/1305261, have access new azure portal, not classic, have no idea can find settings guy talked about. besides, found similar under azure active directory menu, , granted access permissions, exception still there.

can me how can fix error?

updated: here's setup app's privileges: enter image description here

in new azure portal can access screen following next steps:

  1. azure active directory
  2. app registrations
  3. select application
  4. required permissions

enter image description here

from there, can add new permission:

enter image description here

update:

enter image description here


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -