Managing Power Platform and Dynamics 365 Deployments - the "developer" knowledge that Functional Consultants and Associates should know
Sharon Smith
Dual Microsoft BizApps MVP | Dynamics 365 Solution Architect | 15x Microsoft Certified & Success by Design Accredited | Microsoft Women In Power Mentor & Power Up Program Champ | HeuristicDev Blogger | Public Speaker |
As I continue my learning journey ????, I was reflecting on what knowledge is considered appropriate to include in the Functional Consultant Associate-level certificates, and what's been included in certificates identified for "developers".
?
In particular, when returning for a deeper-dive into the 'Work with MS Power Platform Tenants, Environments, Subscriptions and Dynamics 365 Apps' Learning pathway that was part of the recent 微软 ?Cloud Skills Challenge, there's knowledge and best practices here that in my opinion should be included as part of the #PL200 certificate. ??
?
I've therefore picked out four particular stand-out, related topics to cover in this article:
1??? Placing your Sandbox environment into Administration mode
2?? Taking a Backup before deployment to another environment
3?? Changing the Environment Type from Sandbox to Production
4?? Being able to restore Backups into a Production Environment (if there are issues with your installation - which, of course, there won't be)
?
Administering Microsoft Environments for development & customisation work
?Whether you're working in the Microsoft Power Platform or Microsoft Dynamics 365 , understanding the functionality that's available for deploying environment-level developments and customizations is equally as important as learning about application lifecycle management (#ALM) best practice and the use of #Solutions.
?The scenarios where you'd be deploying using these options may be more limited; but to understand them isn't just about being able to use them where appropriate.?It's also about recognising when others, such as Power User or Business Units with specific use-cases, may have already done so. ??
?? Especially if your Center of Excellence and/or Enablement isn't fully mature yet (Unless driven from both the top down and bottom up, this can be a long journey to achieve organisation-wide).
Or if you haven't developed other admin and governance best practices, such as an Environment Strategy, Data Loss Prevention (DLP) Policy, and Activity Logs & Analytics. ??
?
?Placing your Sandbox environment into Administration mode
?This was the piece of best practice advice that triggered my 'wow, I actually didn't know that; why wasn't that included as part of the PL-200 modules?' moment ??:
?You can set a Sandbox, Production, or Trial (subscription-based) environment in Administration mode, so that only users with System Administrator or System Customizer security roles will be able to sign into that environment. ??♀?
Some of the benefits to using Administration mode include:
?
System Customizers will need to sign into the environment directly through the URL, however; as whilst it's in Administration mode, the environment won't appear to them in the Environments page of the Power Platform admin centre.
?
?To set Administration mode:
?
Taking a Backup before deployment to another environment
?If configurated correctly, all your environments, except Trial environments (standard and subscription-based), will be included in system backups that take place without you having to do anything. ??♀?
Whilst undeniably an essential part of your environment admin strategy, there will be occasions when you'll want to make your own backups separate or in addition to the system ones.?For example, before making significant customization changes or applying a version update. ??
?When deciding whether you need to, consider the following factors for both system backups and manual backups:
System backups:
Manual backups:
?
To create a manual backup:
3. Fill in the information, and then select Create.
?
There's no status updates as the backup is processing.?When it's completed, however, the following message is displayed: "The [backup name] backup was successfully created." ??
Changing the Environment Type from Sandbox to Production
?Once you've completed your development / tailoring / trialling work and it's fully tested in your Sandbox environment, you can make it available to all users in your organisation by changing the environment type to Production.
?
You do this by:
4. Select Continue.
5. And on the confirmation page, select OK.
?
Now there's some important caveats here. ??
领英推荐
1??? The first is where I say "sign in using Environment Admin or System Administrator role credentials".?
?This is based on the assumption that you've followed the first best practice option and placed your Sandbox environment into Administration mode before starting your development or customisation work.
?
2?? The second relates to where I say before the steps that you can make your Sandbox environment available to all users in your organisation by changing the environment type to Production.?
?This actually depends on how you set up the Access rights, such as Security roles, Business units and Maker access to your environments.?Also, how those access rights can change depending on the type of environment you're in (a detailed topic in its own right ??).
?
Being able to restore Backups into a Production Environment
Now here we have to tread carefully, as ? you can only restore to Sandbox environments ????
To restore to a Production environment, you first need to switch it to a Sandbox environment.
This limitation's been put in place by 微软 in order to avoid accidental overwrites of your Production environment.
?Which is more than fair! ??
?
Besides, it sounds easy enough, though, doesn't it??After all, we saw above how straight forward it was to change the environment type from Sandbox to Production and vice versa.
?We also learnt, however, that the retention periods for Sandbox environments is only 7 days… ??
?Changing an environment type to Sandbox will immediately reduce the backup retention to align.??? If you don't need backups (aka restore points) older than seven days, then you can safely switch the type. ??
?If, however, the backup you need to restore from is older than seven days, you'll need to:
To restore a system backup:
3. Select the?System?tab.
4. Under?Select a backup to restore, choose a date and time to select a system backup to restore, and then select?Continue.
5. Select an environment to restore to (overwrite), enter other settings as desired, and then select?Restore.
Remember ?:
? 6. Confirm overwrite of the environment.
To restore a manual backup:
6. Select an environment to restore to (overwrite), and then select?Restore.
Remember ?:
Only sandbox environments can be restored to.
7. Confirm overwrite of the environment.
?
In both cases, you'll still then need to change this Sandbox environment to Production and update the State of the old current Production environment to Inactive. ??
?
Exceptions
?I did at the beginning of this article equate the importance of understanding the functionality that's available for deploying environment-level developments and customizations equally regardless of whether you're working in the Microsoft Power Platform or Microsoft Dynamics 365 . ??
?Whilst this is generally true, certain Microsoft Dynamics 365 apps do have App-specific rules that apply to them. ?
?For example:
Dynamics 365 Marketing environments
??I'm going to start this section off with the caveat that any or all of the below recommended best practice may, of course, change with the merger of the Dynamics 365 Marketing and Customer Insights apps, resulting in the introduction of Dynamics 365 Customer Insights - Journeys and Customer Insights - Data, and any future synthesis that we might see following this. ??
?
?Omnichannel for Dynamics 365 Customer Service
?Another Microsoft Dynamics 365 app we need to take special care of is Omnichannel for Dynamics 365 Customer Service. ????
?
In conclusion, I'd strongly recommend double-checking the Microsoft Learn Documentation if you're planning to carry out installation and environment management on any of the Microsoft Dynamics 365 apps, to make sure you're up to date with the latest releases and best practices. ??
Dual Microsoft BizApps MVP | Dynamics 365 Solution Architect | 15x Microsoft Certified & Success by Design Accredited | Microsoft Women In Power Mentor & Power Up Program Champ | HeuristicDev Blogger | Public Speaker |
1 年Microsoft Learn documentation on Administration Mode can be found at: https://learn.microsoft.com/en-us/power-platform/admin/admin-mode Microsoft Learn documentation on Change Environment Type can be found at: https://learn.microsoft.com/en-us/power-platform/admin/switch-environment Microsoft Learn documentation on Establishing an Environment Strategy can be found at: https://learn.microsoft.com/en-us/power-platform/guidance/adoption/environment-strategy Microsoft Learn documentation on Delete and Environment in Power Platform Admin Centre can be found at: https://learn.microsoft.com/en-us/power-platform/admin/delete-environment