Microsoft login redirect Safari plist?

hsekiv
Contributor

I've discovered that our school can bypass the Microsoft login screen with a redirect, bit of an explanation on this site.

https://chamonixvue.wordpress.com/2016/05/23/how-to-bypass-the-office-365-login-redirect-page-with-a...

Basically, our students are currently directed to the Microsoft login screen for Office 365 where they have to enter their entire school email address (slightly challenging for our Primary School lower years) before being directed to our school portal login screen. With this workaround, I can get them to go directly to our school portal login screen. I've been able to update the school portal web clips for our iPads with no issues, but for the Macs, trying to update the Plist I use for Safari home page is resulting in an error:

Problem uploading Safari_copy.plist. Plist files must be in XML format. Try '/usr/bin/plutil -convert xml1 /path/to/file.plist'

Any ideas?

Thanks

5 REPLIES 5

rderewianko
Valued Contributor II

What happens when you run that command with your plist?

hsekiv
Contributor

I receive this error:

Property List error: Encountered unknown ampersand-escape sequence at line 6 / JSON error: JSON text did not start with array or object and option to allow fragments not set.

talkingmoose
Honored Contributor II

Without seeing the plist, I can only guess what may be causing the issue. Since your error refers to "ampersand", I'm guessing you may need to modify the value for the URL and convert and & symbols to their encoded equivalents &, similar to HTML.

hsekiv
Contributor

The URL is:

https://login.microsoftonline.com/login.srf?wa=wsignin1.0&whr=ouremail.domain.com&wreply=https://our.sharepointsite.com

I'll try converting the symbols and give it another go

hsekiv
Contributor

Update:

I changed the url to the below which allowed the plist to be uploaded to the config profile.

https://login.microsoftonline.com/login.srf?wa=wsignin1.0&whr=ouremail.domain.com&wreply=https://our.sharepointsite.com

When deploying the config profile to my Mac, it fails with the following error:

Unable to decrypt encrypted profile