microsoft / o365-moodle

Office 365 and Azure Active Directory plugins for Moodle
GNU General Public License v3.0
182 stars 136 forks source link

Error in API call #215

Closed rezaugg closed 7 years ago

rezaugg commented 7 years ago

We face problems establishing the connection to the sharepointsite.

On our moodle test plattform I installed moodle 3.2 and O365 version v20170511_m32.zip

Everything seems to work exept the course Link to a course sharepoint site. I get the following Infos/errors in moodle under local_o365 | azuresetup:

The moodle log shows the following two API failure infos:

We would appreciate tips that help us to move a step further.

Best regards from Zurich, Regina Zaugg

nairial commented 7 years ago

I'm seeing the same issue.

Kofl commented 7 years ago

Same issue for us, when setting up the plugin the first time:

Azure AD Application ==> we clicked on Update

Could not check reply url. Could not check sign-on url.

Microsoft Graph API (Recommended) Error in API call: Property 'appId' does not exist as a declared property or extension property.

Office 365 API Permissions are correct.

athasdos commented 7 years ago

We are experiencing the same issue after upgrading to Moodle 3.2 last week.

"Error in API call: Property 'appId' does not exist as a declared property or extension property."

francoisbruneau commented 7 years ago

I'm experiencing the same issue.

Kiosu commented 7 years ago

I'm experiencing the same issue.

update 07/31/2017 i just update this 3 latest version plugin for moodle 3.1 stable :

  1. Microsoft Block block_microsoft 3.1.0.6 v2016062007
  2. OpenID Connect auth_oidc 3.1.0.5 2016062005
  3. Microsoft Office 365 Integration local_o365 3.1.0.7 2016062007

the issue still not fix. Any update?

robduncan1 commented 7 years ago

Experiencing that same issue on Moodle 3.3 with the latest o365. We have to work around by enabling the legacy API's . 'Error in API call: Property 'appId' does not exist as a declared property or extension property.'

Azure AD Application Verifies the correct parameters are set up in Azure AD. Could not check reply url. Could not check sign-on url. Microsoft Graph API (Recommended) The Microsoft Graph API replaces the existing application-specific APIs. If available, you should add this to your Azure AD application to be ready for the future. Eventually, this will replace the legacy API. Error in API call: Property 'appId' does not exist as a declared property or extension property.

ellajona commented 7 years ago

Hi I just set up Moodle 3.3 and O365 and get the same issue as described above. Any solutions ??

robduncan1 commented 7 years ago

Have you tried disabling the graph API - it still only works for me using the legacy API. Options > Advanced Settings > Disable Graph API

jamesmcq commented 7 years ago

This should now be resolved with the latest version of the plugins - just released. Please update to the latest version and try it out. Going to close this issue - if the problem persists, please open a new issue. Thanks!

wolfstettler commented 6 years ago

The version number is still the same (2017051500), so the update is not triggered. Can you please change it or can bad things happen, if I change it myself?

anormore commented 6 years ago

Hi, hate to open this ticket again but this is still an issue with the very latest plugin version.

deblike commented 6 years ago

Hi! Indeed this is still occurring, I'm using a blank Moodle campus and brand new Azure App with all the documented permissions, both for Microsoft Graph and Azure AD.

robduncan1 commented 6 years ago

I can confirm, again, that this is still an outstanding bug :-(

VissionNZ commented 6 years ago

Can concur - same issue running version 3.5.0.0 on a previously working installation. Attempting to change API user, providing admin consent results in a "there was a problem logging you in" message. Verify setup shows "Could not check reply URL" and Error in API call: Resource 'app id' does not exist or one of its queried reference-property objects are not present. We cannot run Sync users with Azure AD to set up our new students.

jamesmcq commented 6 years ago

Hi All - Thanks for the heads-up that you're still experiencing this. @robduncan1 opened a new issue so let's use that one to track any new/remaining occurrences. Looking into this. Thanks!