http security warning in Internet Explorer

Mar 28, 2013 at 2:14 PM
I'm currently working on an SPO implementation of 4k users that will have accounts from a non verified domain within the Office 365 tenant - So have to use the @xxxx.onmicrosoft.com format for their user accounts.

Due to not having PowerShell access to the UPS to update email addresses, I've created an awesome script thanks to SPServices that checks the current users email address within the UPS against a SharePoint list, if they don't match the script then uses current users email address from the SharePoint list to update the email address within their User Profile.

The script works an absolute treat... But on IE 8 machines we're getting the standard warning that happens when an https page is trying to call http content. Both the script and Jquery library are both being hosted within the same site collection, so I'm at a loss. Does anyone have any ideas why we're getting this security warning, does SPServices reference any http content ?
Coordinator
Mar 28, 2013 at 2:26 PM
I just did a quick check, and I'm not using the protocol anywhere in SPServices except in the SOAP namespaces.

Are you referencing the js files with a protocol? See this post:
http://sympmarc.com/2013/02/07/referencing-jquery-jqueryui-and-spservices-from-cdns-revisited/

M.
Apr 4, 2013 at 12:22 PM
Apologies for taking so long to reply, I've been away.

Anyway thanks for taking a look its appreciated. The js files are hosted in a SP doc library in the same site, so all good there. To be honest I'm not overly worried now, I've since created a first use and acceptance page and incorporated the script there, so users will only ever get the warning once and it still runs just fine.

Thanks again for SPServices - Without it, we'd have potentially had to ask 4k users to update their own email addresses.
Coordinator
Apr 4, 2013 at 3:41 PM
It may well just be that your references to the js files contain the protocol. Try switching from something like this:
<script language="javascript" type="text/javascript" src="http://sharepoint.com/jQuery%20Libraries/jquery.SPServices-0.7.2.min.js"></script>
to something like this:
<script language="javascript" type="text/javascript" src="/jQuery%20Libraries/jquery.SPServices-0.7.2.min.js"></script>
BTW, what you''ve described abouve is a really interesting use of SPServices. Want to write it up as an SPServices Story?

M.
Apr 4, 2013 at 7:34 PM
I should have said, I'm already using relative urls. So unfortunately its not that. And yes I'll happily return the favour and write up a story - I do think you'll like it, its a very unusual scenario/problem we encountered, but SPServices did a great job in rescuing us.

Its getting towards the end of the implementation now, so I won't be able to write anything up for a week or so I'm afraid... Just not enough hours in the day!
Coordinator
Apr 4, 2013 at 7:57 PM
Maybe once you write up the specifics, I'll have an idea for you where the prompt is coming from.

It does sound like a good story, and I look forward to hearing more!

Thanks,
M.