Jump to content

Recommended Posts

Posted

Hi Guys (and gals !)

 

Finally got around to trying to set up Live Services for Moodle but am having probs running the Powershell cmdlets.

 

All seems ok but when I run the last one I get this error :

 

powershell error.jpg

 

Anyone got any ideas what's up ?

 

Thanks

Posted

Its been ages since I set mine up, but have you actually connected to the remote powershell?

 

You need to run these three commands before you can run any live@edu type commands:

 

$LiveCred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Import-PSSession $Session

 

and login with a live@edu administator account..

 

There is also something you need to do about creating an impersonation account as well but I cant remember the exact steps.

 

What OS does your moodle run on out of interest linux or windows? (unrelated just curious)

  • Thanks 1
Posted

Hi m8, thanks for replying (tearing my hair out with this !).

 

Yes, run the previous cmdlets and logged in - however, a thought has just occured that I am logging in with the impersonation account and maybe, as you said, I should use the live@edu admin account so will give that a go.

 

From what I've found out about the error it's something to do with the eExchange services account so maybe that will do the trick.

 

Running Moodle on a linux box from layershift.co.uk - excellent and no probs so far (maybe I've just tempted fate now !)

 

Let you know how I get on

Posted

Big thanks again Rabbie - that's sorted it !

 

A few niggles to sort out with block placement etc. but at least the login and authentication side is now working ! Hurrah !

 

Cheers again for the help

 

:tea: (Sorry it's not beer !)

Posted
Big thanks again Rabbie - that's sorted it !

 

A few niggles to sort out with block placement etc. but at least the login and authentication side is now working ! Hurrah !

 

Cheers again for the help

 

:tea: (Sorry it's not beer !)

 

No worries sorry I never saw this thread sooner.

 

What version of PHP do you have installed on your linux box? Ive had real trouble with the plugin since I upgraded my php..

Posted
No worries sorry I never saw this thread sooner.

 

What version of PHP do you have installed on your linux box? Ive had real trouble with the plugin since I upgraded my php..

 

Just checked our server and it says version 5.1.6-27.el5

 

Not had any probs with it at all (we pay for a managed services so if I want anything upgraded etc. they (Layershift) do it for us)

Posted

fair enough.

 

just a heads up, the 5.3.x series of php removes the mhash module which the plugin requires. on windows 5.3.x is fine as its compiled in, but on linux its missing and has caused us no end of problems.

 

in fact, im going to check if the plugin actually even works for us now..

Posted
fair enough.

 

just a heads up, the 5.3.x series of php removes the mhash module which the plugin requires. on windows 5.3.x is fine as its compiled in, but on linux its missing and has caused us no end of problems.

 

in fact, im going to check if the plugin actually even works for us now..

 

I think I asked Layershift to install all the required php modules for us but I wasn't planning on upgrading php anyway at the moment.

 

I have the blocks in but at the moment they're causing all the right hand side blocks on courses to disappear (we're on 1.9.11+) - may be a template issue (Fandango)

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



×
×
  • Create New...