Sample: Windows 8 desktop modern SOAP app
This app demonstrates logging into CRM and getting some basic account and task information.
The sample app had some attractions:
- No dependence on the MSCRM SDK libraries, so I assumed it would be easier to translate to Android
- Using Azure Active Directory authentication using OAuth 2.0, so no requirement to set up Active Directory, or IFD
- The Active Directory Authentication Library has been open sourced, with an Android version.
This turned out not to be the case.
The next several blog posts will go through the journey that I took, with some discussion of the issues encountered and how they were overcome.
Source code for the developed apps are available from my personal GitHub repository:
The Windows Phone app
The Android app
Extends the Microsoft Dynamics CRM SDK ModernSoapApp to include Windows Phone 8.1 app
This project takes the following code from the Microsoft CRM SDK: Sample: Windows 8 desktop modern SOAP app http://msdn.microsoft.com/en-us/library/dn481599.aspx and updates it with: * current release of Azure Active Directory * then turn it into a Universal app with Windows Phone 8.1 support
The Windows Phone 8.1 version of the app used the following project as a base template:https://github.com/AzureADSamples/NativeClient-WindowsPhone8.1 That project is discussed in the following blog post: http://www.cloudidentity.com/blog/2014/06/16/adal-for-windows-phone-8-1-deep-dive/