First I'd like to give a shout out to Dmitrii who recently provided instructions on updating the FBA to support ADFS. I used his blog entry as a source to update my installation. I did have some minor changes but the original blog can be found here.
By default with Office 365 you have WIA (Windows Integrated Authorization) for ADFS to validate your claim against AD. I changed the default type to Forms Based Authentication and detailed the steps below.
The major changes I needed included background, helpdesk information since O365 can't be customized, and getting rid of my unsightly naming convention with my ADFS. It was a long name and it appeared on my sign in page.
I started with my FormsSignin.aspx page.
I wanted my screen to look like this:
The following files have control over the Forms Signin:
<microsoft.identityServer.web>
<localAuthenticationTypes>
<add name="Forms" page="FormsSignIn.aspx" />
<add name="Integrated" page="auth/integrated/" />
<add name="TlsClient" page="auth/sslclient/" />
<add name="Basic" page="auth/basic/" />
http://social.technet.microsoft.com/wiki/contents/articles/4184.aspx
.Header
{
color: 000000;
padding: 8px 0 5px 0;
margin-bottom: 1px;
font-size: 200%;
font-weight:bold;
position:relative;
left:184px;
top:-63px;
}
</data>
<data name="FormsSignInPageTitle" xml:space="preserve">
<value>Welcome to the Microsoft EDU STU team</value>
div class="GroupXLargeMargin"><asp:Label Text="<%$ Resources:CommonResources, FormsSignInHeader%>" runat="server" /></div>
<table class="UsernamePasswordTable">
<tr>
<td>
<span class="Label"><asp:Label Text="<%$ Resources:CommonResources, UsernameLabel%>" runat="server" /></span>
</td>
<asp:TextBox runat="server" ID="UsernameTextBox" ></asp:TextBox>
<td class="TextColorSecondary TextSizeSmall">
<asp:Label Text="<%$ Resources:CommonResources, UsernameExample%>" runat="server" />
</tr>
<span class="Label"><asp:Label Text="<%$ Resources:CommonResources, PasswordLabel%>" runat="server" /></span>
<asp:TextBox runat="server" ID="PasswordTextBox" TextMode="Password" ></asp:TextBox>
<td> </td>
<td></td>
<td colspan="2" class="TextSizeSmall TextColorError">
<asp:Label ID="ErrorTextLabel" runat="server" Text="" Visible="False"></asp:Label>
<td colspan="2">
<div class="RightAlign GroupXLargeMargin">
<asp:Button ID="SubmitButton" runat="server" Text="<%$ Resources:CommonResources, FormsSignInButtonText%>" OnClick="SubmitButton_Click" CssClass="Resizable"/>
</div>
</table>
<div class="GroupXLargeMargin">
<asp:Label Text="<%$ Resources:CommonResources, HomeRealmSelectionTextThree%>" runat="server" />
<a href="mailto:micore@edustl.com?subject=FEDERATION">Helpdesk@edustl.com</a>
<asp:Label Text="<%$ Resources:CommonResources, HomeRealmSelectionTextThreeHalf%>" runat="server" />
<asp:Label Text="<%$ Resources:CommonResources, HomeRealmSelectionTextFour%>" runat="server" />
</asp:Content>
<data name="HomeRealmSelectionTextTwo" xml:space="preserve">
<value>NOTE: The following Identity Providers will let you into the application.</value>
<data name="HomeRealmSelectionTextThree" xml:space="preserve">
<value>Welcome to the demo site provided by the Microsoft Education STU Team. If you need assistance please contact </value>
<data name="HomeRealmSelectionTextThreeHalf" xml:space="preserve">
<value>- If we don't respond it's because we are busy with customers. Thank you and have a good day.</value>
<data name="HomeRealmSelectionTextFour" xml:space="preserve">
<value>If you believe that you have arrived at this page by accident, please close your web browser and try accessing the application webpage URL again in a new browser session.</value>
.CustomLogo
margin-top:25px;
Special thanks to the original contributer Dmitrii and to my partner in troubleshooting the code Michael Icore.