Tuesday, May 21, 2019

General availability of PowerApps Solution checker makes it easier to check Dynamics 365 solution quality

On May 2th Microsoft announced the general availability of the PowerApps Solution Checker, tooling which allows you to run a static code analysis of your CDS and Dynamics 365 solutions against a set of best practice rules. By running these checks, you can identify problematic patterns in your code base which might impact performance or maintainability/upgradeability of your code.

Tooling like this is a must have for Dynamics 365 CE Online where releases are delivered on a continuous basis (with bi-weekly releases). With this release schedule, the risk of low quality solutions (from ISVs or SIs) interfering with Microsoft updates becomes more probable.

But this is not only about Microsoft safeguarding their Dynamics 365 SAAS platform but also about delivering value quicker and in a reliable fashion. I truly believe that code quality is a good indicator about how quickly developers can add business value to a software system. Static code analysis tools such as PowerApps solution checker might not be the holy grail but they at least give you an indication of the amount of technical debt that you have amassed within your Dynamics 365 instances.

I have been using PowerApps solution checker since a couple of months now and for projects with lots of different teams working on solution it allows you to have some indication of code quality without having to delve through 10.000 lines of code.  I also think that announcements such installing the solution checker by default, introduction of the Solution Health Hub and the announcement of PowerShell script support coming soon are showing Microsoft’s commitment on finally delivering on a good DevOps story for Dynamics 365.

References:

Monday, May 13, 2019

Dynamics 365 monthly reading list April 2019

Technical topics (Configuration, customization and extensibility)

Topics for Dynamics 365 Business Application Platform analysts, project managers and power users

Sunday, May 12, 2019

Quick tip: solving rendering issues in PowerPoint presenter mode

After upgrading to a newer version of Office, my PowerPoint slides displayed incorrectly in presenter mode – see screenshot below. I googled around but did not find anything useful.


Fortunately I remembered  a similar issue that I had in Internet Explorer 11 see Solve image rendering problems in Internet Explorer 11 on HP ZBooks. It seems that PowerPoint has a similar setting – go to Options>Advanced and underneath the Display section I had to check the “Disable Slide Show hardware graphics acceleration."


Monday, March 25, 2019

Dynamics 365 monthly reading list March 2019

Technical topics (Configuration, customization and extensibility)

Topics for Dynamics 365 CE business analysts, project managers and power users

Tuesday, March 19, 2019

Dynamics 365 certifications and course material update March 2019

Warning: I will update this blog post on a regular basis as new material becomes available or changes on certification are made by Microsoft

Updated March 31th: Added information on new roles (field service functional consultant and marketing functional consultant) and exams

For consultants wanting to certify on Dynamics 365, quite a few changes have been announced the last couple of months. In December 2018, Microsoft announced that they were retiring a whole set of Dynamics 365 exams (see Exam and Certification Retirement Roundup, December 2018).  Microsoft stated that many of the upcoming changes are part of the evolution to focus more on role-based certifications – for Dynamics 365 CE there are following roles defined but some content is not there yet (these roles were announced on Introducing New Certifications for Microsoft Dynamics 365 Customer Engagement Functional Consultants )

Meanwhile Microsoft also started retiring the content on the Dynamics Learning Portal (the traditional source for training content on Dynamics 365) and decided to made new content available as shorter learning paths on Microsoft Learn. The applicable learning paths are listed on the exam requirements pages listed below. But there are also a number of self-paced trainings available on https://openedx.microsoft.com . Big thanks to @Jukkan and @nz365guy for providing the direct links to these hidden treasure. The retirement dates below have already shifted a few times (initially the first retirement of Dynamics 365 exams was planned for March 31th)


Exam Number Exam Name Retirement Date Replace Exam Course material
MB2-715 Microsoft Dynamics 365 customer engagement Online Deployment June 30, 2019 MB2-200 (Beta)

Dynamics 365: Power Platform applications (8 hrs)
Dynamics 365: Power Platform automation (8 hrs)
Dynamics 365: Power Platform integrations (8 hrs)
Dynamics 365: Power Platform test and deploy (8 hrs)

Dynamics 365 core exam study guide created by @JonasWauters1

MB2-717Microsoft Dynamics 365 for Sales June 30, 2019 MB-210 (Beta)

Dynamics 365 for customer engagement for sales (8hrs)

Dynamics 365 for sales exam study guide  created by @JonasWauters1

MB2-877 Microsoft Dynamics 365 for Field ServiceJune 30, 2019 MB2-240 (Beta – published March 31th)
MB2-718 Microsoft Dynamics 365 for Customer ServiceAugust 31, 2019 MB2-230 (Beta)

Dynamics 365 for customer engagement for customer service (8 hrs)

Dynamics 365 for customer service exam study guide created by @JonasWauters1

MB2-719 Microsoft Dynamics 365 for MarketingAugust 31, 2019 MB-220 (Beta – published March 31th)


A new exam which has been introduced is Exam MB-900 Microsoft Dynamics 365: Fundamentals


References:

Friday, February 22, 2019

Making sense of XRM, PowerApps and some other acronyms (CDS, CDM, …)

With the July 2018 update of Dynamics 365 (9.0), Microsoft released an interesting architecture update to Dynamics 365 Customer Engagement where they separated the “core” features of the platform and the various business modules (Sales, Customer Service, Marketing, Field Service, etc…). This separation of the “core” platform features allows not only Microsoft Business Applications to leverage the platform capability but also third party providers and ISVs.

The term XRM  was used in the past to describe the ability to built business applications with minimal development effort (relying on configuration and customization) on top of the Dynamics CRM platform. These applications allowed you to model business entities and their relationships (xRM or any Relationship Management) and keep track of this information in a database without having to develop everything yourself. With the platform separation, we can now finally think about XRM and CDS in the same way (check out Yes, XRM is the new Common Data Service (2.0) by @Jukkan for more information).



From a solution architecture perspective we can see a number of main building blocks in the schema above:
  • Common Data Service (CDS)
  • Power Platform
    • Power BI -  interactive data visualization platform 
    • PowerApps – allows you to build canvas driven apps and model driven apps. Canvas driven apps  are apps that you can build using  a drag and drop design interface without requiring a developer - especially very productive to built mobile/tablet applications. Model driven apps also allow you built business applications without requiring a developer but unlike canvas apps you don’t have full control on the user interface but with additional functionality such as process support, full extensibility, etc … This was previously referred to as the xRM capability – sometimes also referred to as CDS for Apps. Initially PowerApps was a completely separate platform but with the Spring 2018 update Microsoft decided to merge the two different platforms. Read PowerApps Spring Update – if you want to get your heads around the new CDS for Apps and to understand how everything seems to finally come together. Definitely also subscribe to the PowerApp blog to keep up to date on the fast pace at which this platform is evolving. Microsoft is on a weekly release schedule for PowerApps which is also visible in the Released versions of Microsoft PowerApps
    • Flow  - an easy to use workflow and integration platform. A power-user can use this platform. Programming skills are not mandatory  https://flow.microsoft.com/en-us/ . With over 250+ connectors and a huge number of templates, Microsoft Flow allows you to automate your daily work.
  • Azure – Microsoft’s cloud platform powering all of the above. The Power Platform as well CDS for Apps also have built-in capabilities to integrate with a lot of Azure building blocks – an interesting read on this topic is https://powerapps.microsoft.com/en-us/blog/create-business-apps-using-powerapps-and-azure-functions/

I had a number of interesting conversations with Microsoft about the Microsoft Power Platform when attending the Microsoft Fasttrack bootcamp for solution architect in January 2019 which convinced me that this is not something that you can dismiss as a Microsoft Dynamics partner. The future toolkit for customization and extending Dynamics 365 CE will be PowerApps and Flow. But it seems that non-Dynamics partners are amongst the first movers to take a large part of this new market opportunity. As a Dynamics 365 partner (or consultant) take a look at Why Microsofts Power Platform is one of its biggest bets for 2019 which explains where Microsoft is moving to and how they plan to leverage the data captured in the Power Platform/CDS to provide more actionable insight - see https://aka.ms/allaboutbase

"The true value of Microsoft Business Applications platform is the ecosystem it resides in, the 
AI signals (internal and external) that enrich it, and the overall 
outcomes it creates for your business."





Background information:

Wednesday, January 23, 2019

Check Dynamics 365 solution quality with the new PowerApps Solution Checker

End of November 2018, Microsoft quietly launched a preview of the  Solution checker for Dynamics 365 as part of the Common Data Service for Apps platform update.  The solution checker analyzes the different solution components for unmanaged solutions within your Dynamics 365 tenant. I accidently stumbled upon it when reading this interesting article from Steve Mordue – How about some solution quality?. The solution check will analyse the different artifacts or components within your solution like plugins and custom workflow activities, web resources as well as Dynamics 365 configuration such as SDK messaging steps.

The solution checker has been built based upon the experience and internal tooling of Microsoft Premier Field Engineers (definitely check check out the Dynamics 365 PFE blog Dynamics 365 Customer Engagement in the Field) and has been already used quite extensively at big customers in the past couple of weeks.

Solution checker currently only works for Dynamics 365 Online and is only accessible from within the https://web.powerapps.com user interface but I suspect that Microsoft will make this accessible using an API since it makes sense to integrate this check in your Dynamics 365 continuous build process.

Solution checker for Dynamics 365 is made available within https://web.powerapps.com and to install you can  follow the steps as outlined in Make higher quality apps with solution checker.  It is installed from within AppSource but can only be found in AppSource when starting from the PowerApps web portal. The solution checker will need to be installed per instance for which you want to check the solutions. Since it only checks unmanaged solutions - you will typically only install it on your development organization/instance.


It might take a couple of minutes before the PowerApps Checker solution is installed - on this page you will also see when it is completed successfully.



It is a good idea to run the solution checker on a regular interval as Microsoft is continuously expanding the code quality rule sets which are used.

The result of the solution check is a zip file which contains the result in CSV and Excel format. The excel will contain an overview page with a summary of the issues and a second sheet with details of the different issues.




For each issue you will have a detailed description of the issue explained using multiple fields. Some  values in fields are only relevant to plugins/workflow assemblies whereas other apply to all types of artifacts/components.

Report field Examples Description Applies to
Issue il-avoid-specialized-update-ops The title of the issue identified in the solution – take a look at ..
to see an overview of the different types of issues which are being
checked
All
Category Performance, Maintainability, UpgradeReadiness, Supportability Categorization of the issue identified All
Severity Low, medium, high,informational Represents the potential impact of the issue identified. All
Guidancehttp://go.microsoft.com/fwlink/?LinkID=398563&error=meta-remove-inactive&client=PAChecker Link to the guidance articles – most of them link to a section underneath
the new Best practice and guidance for the Common Data Service Apps but
some links point to older reference articles which still apply. Microsoft plans
to consolidate all the guidance relevant for CDS in one location in the end but this is a work in progress
All
Component Configuration, plugin, webresource, … The solution component where the issue was identified All
Location The location and/or source file of the component where the issue that was identified occurred, such as the assembly or JavaScript file name. All
Line# ...The line number reference of the issue in the impacted web resource component. Web resource
Module Module name where the issue identified in the assembly was detected. Plug-in or custom workflow activity
Type Type of the issue identified in the assembly. Plug-in or custom workflow activity
Member Member of the issue identified in the assembly. Plug-in or custom workflow activity
Statement The code statement or configuration that resulted in the issue. All

Solutions which do not follow the guidance will cause lot of support issues down the line especially with Microsoft rolling out a steady stream of updates of the Dynamics 365 platform.  So start using solution checker to make sure that you can concentrate on adding value with your Dynamics 365 solutions and apps.