azure - Can't access office365 Calendar API -


i want access calendar rest api ruby application. i've created azure multi-tenant app, , configured it.

i'm trying access token resource "https://outlook.office365com/", error

'aadsts50001: resource 'https://outlook.office365.com/' disabled.' 

i can't find description of error, , can't understand why it's disabled


here azure app permissions:

enter image description here

that's new error me! let's check if exchange principals disabled. you'll need use remote powershell connect azure ad service.

here's how (i'm assuming have powershell installed on windows machine):

  1. install azure ad module powershell: https://msdn.microsoft.com/en-us/library/azure/jj151815.aspx#bkmk_installmodule
  2. open "windows azure active directory module windows powershell". follow steps under "connect azure ad" in linked article.
  3. run following command: get-msolserviceprincipal -appprincipalid 00000002-0000-0ff1-ce00-000000000000

you should see output this:

extensiondata         : system.runtime.serialization.extensiondataobject accountenabled        : true addresses             : {} appprincipalid        : 00000002-0000-0ff1-ce00-000000000000 displayname           : microsoft.exchange objectid              : f7d177d5-2071-45a9-b494-9b98cb4d80e3 serviceprincipalnames : {00000002-0000-0ff1-ce00-000000000000/outlook.office365                         .com, 00000002-0000-0ff1-ce00-000000000000/mail.office3                         65.com,                         00000002-0000-0ff1-ce00-000000000000/outlook.com,                         00000002-0000-0ff1-ce00-000000000000/*.outlook.com...} trustedfordelegation  : true 

can run command , post results?


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -