Enable-O365integration : Credential cannot be authenticated

Enable-O365integration : Credential cannot be authenticated
At line:1 char:1
+ Enable-O365integration -o365accountupn "xxxxxxxxxxxxxxxxxxxxxxxxxxx" -Pas ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Enable-O365Integration], O365ConfigureException
+ FullyQualifiedErrorId : InvalidInvoke,Microsoft.WindowsServerSolutions.O365Integration.EnableO365IntegrationPSCmdlet

If you ever get this error you need to disable the windows azure active directory sync in the Dashboard before continuing

LinqDataSource join

Hi guys,

If you are ever using a LinqDataSource and want to join a second table, bad news, you can’t. BUT if your edmx file sees the join between the tables, you can still reference it.

See following extract from the ASP.NET file:

<asp:LinqDataSource ID="LinqDataSource1" runat="server"
ContextTypeName="MyDatabase.MyDatabaseEntities" EntityTypeName=""
OrderBy="DateCreated desc"
Select="new (ID, Name, Author.Name AS Author)"