Jump to content

Recommended Posts

Posted
Our moodle is managed by another dept, but they have failled with the live@edu plugin, and its been passed to me to do. I set up our live@edu but have no idea about moodle... Has anyone implemented the plugin and can give me a rundown of what needs done and any issues I might run into?
Posted

Invalid Moodle User

Your account has been successfully authenticated by Windows Live, but your Windows Live ID, [email protected], is not associated with a user account in this Moodle system.

You can try again with a different Windows Live ID. If you continue to have problems, contact your Moodle system administrator.

 

Any ideas what would cause that?

Posted (edited)

Our moodle runs on SUSE linux, and out the box, the Microsoft Live@edu plugin would not work. I am unsure if this effects other flavours of linux.

 

The issue we were having was this:

 

Your account has been successfully authenticated by Windows Live, but your Windows Live ID [email protected] is not associated with a user account in this Moodle system. 

You can try again with a different Windows Live ID. If you continue to have problems, contact your Moodle system administrator.

 

The moodle plugin was definately installed and configured correctly.

 

We resolved this issue by modifying the auth/liveid/authenticate.php file

 

Line 85 of that file originally looks like

 

$moodleUserName = get_field_sql('SELECT username FROM '.$CFG->prefix.'user WHERE msn="' . $liveId . '" and deleted=0');

 

After changing it to:

 

$moodleUserName = get_field_sql('SELECT username FROM '.$CFG->prefix.'user WHERE msn=\'' . $liveId . '\' and deleted=0');

 

everything works as expected.

 

 

 

Hope this might be of some help to others.

Edited by RabbieBurns
  • 11 months later...
Posted
I am trying to set up a Moodle with Live@edu integration, I have set all accounts up from AD using LDAP authentication. Is there a way so users can log in with their AD details and still access their emails through the Live@edu block? You have posted in this thread that you have done it before, is this correct or are you referring to something else :confused:.
Posted

you need to populate the MSN ID field for each student with their live@edu email address and then change the login method to MSN ID. This isnt a seamless process though, once they are logged in to Moodle, and click Sign In on the live@edu block, it then takes them to the windows live sign in page where they sign in with their live@edu username and password (we use ILM so the passwords are synced which makes things easier) and after login is successful, brings them back to Moodle.

 

There is a known issue with the latest version of PHP for linux though which stops the sign in working completely.

  • Thanks 1
Posted

Yeah I have done that before but that means that I would have to get all my users to log in with their LDAP logins and then change the authentication method for all my accounts and say I has about 2000 of them, that would be a long process. Is their an easier way of bulk changing the authentication method?

Also when you said you use ILM is this a plugin that syncs the AD password even though the authentication method is MSN ID so if the users password changes in AD the Moodle account is automatically updated also?

 

Also can you send me a link or referance to the PHP bug just so I know how it may affect me and my servers?

 

(please note I may have more questions because I am pretty new to the Live@edu thing, but thanks for the help in advance)

  • 3 months later...
Posted

Currently having issues with our plugin again, although I think it is due to us not having done anything regarding this:

 

https://blogs.msdn.com/b/ukliveatedu/archive/2011/03/03/outlook-live-required-url-changes.aspx

 

Can those of you who use this ( @gshaw ?) please advise what needs changed with the new URL please?

 

Also, I notice there is a new beta version of the plugin Microsoft Live Services Plug-in for Moodle has anyone tried it yet?

  • Thanks 1
Posted

Hi Rabbie,

There is a change to the URL that goes a lil something like this... Where you put the http://outlook.com/owa previously you should now put http://outlook.com/. Also the new MS live@EDU integrates (well I say integrate its more like transferring your users and emails from exchange to live) with Exchange in the sense that it can transfer all your users across to the new hosted email.

However I know some users will want the facility to use the integration tool to be able to view MS Exchange emails in Moodle, I think this can now be done through something called Hybrid Integration (or something like this) but I need to look further into this.

If anyone knows more please add to the thread.

  • 2 weeks later...
Posted (edited)
Currently having issues with our plugin again, although I think it is due to us not having done anything regarding this:

 

https://blogs.msdn.com/b/ukliveatedu/archive/2011/03/03/outlook-live-required-url-changes.aspx

 

Can those of you who use this ( @gshaw ?) please advise what needs changed with the new URL please?

 

Also, I notice there is a new beta version of the plugin Microsoft Live Services Plug-in for Moodle has anyone tried it yet?

 

I've heard the URL change got dropped so they won't be enforcing the change i.e. it should work as it did before.

 

Once we get our dev server back online I'm going to give the new version a try and see if it does the trick :)

Edited by gshaw
Posted (edited)
I've heard the URL change got dropped so they won't be enforcing the change i.e. it should work as it did before.

 

Once we get our dev server back online I'm going to give the new version a try and see if it does the trick :)

 

Clicking on the Moodle live@edu block, and then the page it took you to to login to the MS live, it would fail with the username and password being incorrect. However manually going to mail.live.com or outlook.com would work with the exact same credentials.

 

We modified the link the moodle block points to what the recommended setting was eg outlook.com/our.domain.edu.au and now when you click the link, it accepts the username and password you enter at the outlook.com page, it then does the return to moodle thing, but then errors out with the following error:

 

Fatal error: Call to a member function registerXPathNamespace() on a non-object in /srv/www/htdocs/mis/3rdparty/moodle/blocks/live_services/services/email/ews.php on line 1282

Edited by RabbieBurns
Posted
Clicking on the Moodle live@edu block, and then the page it took you to to login to the MS live, it would fail with the username and password being incorrect. However manually going to mail.live.com or outlook.com would work with the exact same credentials.

 

We modified the link the moodle block points to what the recommended setting was eg outlook.com/our.domain.edu.au and now when you click the link, it accepts the username and password you enter at the outlook.com page, it then does the return to moodle thing, but then errors out with the following error:

 

Fatal error: Call to a member function registerXPathNamespace() on a non-object in /srv/www/htdocs/edumate2/3rdparty/moodle/blocks/live_services/services/email/ews.php on line 1282

 

It's probably missing a value for the registerXPathNamespace function or returning a null value. Probably best to defer on this to Live@Edu developers, if they'll actually answer you!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • 12 When would you like EduGeek EDIT 2025 to be held?

    1. 1. Select a time period you can attend


      • I can make it in June\July
      • I can make it in August\Sept
      • Other time period. Please comment in the thread what works for you
      • Either time

×
×
  • Create New...