The required end points for Azure Active Directory (for Office 365) are not enabled.Enable the required end points for the ...

The required end points for Azure Active Directory (for Office 365) are not enabled.Enable the required end points for the Microsoft Cloud Services on your AD FS server. For AD FS in Windows Server 2012R2:Execute the following command from AD FS PowerShell window on the primary federation server in your farm:Enable-ADFSEndpoint -TargetAddressPath /adfs/services/trust/2005/usernamemixedEnable-ADFSEndpoint -TargetAddressPath /adfs/services/trust/2005/windowstransportEnable-ADFSEndpoint -TargetAddressPath /adfs/ls/