RE: Working for multiple D365 instances ->OnPremise & Cloud
Hi,
Thank you for your query.
When you are creating to customize a component, make sure it is compatible with the online version (not vice versa).
For example, you can do the following on an on-premise instance:
- SSRS Reports using SQL Server Queries (T-SQL instead of FetchXML).
- Plugin Assemblies registered on disk.
However, both of the above will not work in an Online Environment.
In summary, I follow best practices considering it should support online as well (if we ever upgrade).
For the solutions and their components, I will make sure:
- Reports created using Report Wizard or Fetch XML (SSRS).
- Plugins are registered in Isolation Mode.
- Make sure 3rd-party APIs are being accessed using a named URL (so it works in an online environment as well).
Apart from custom solutions, keep an eye on the features (being utilized by your solutions). Because most of the new features are introduced in the Online version first (and later on an on-premise environment).
If you follow these above practices, you should not find any issues and your solutions should work in both Online and On-premise environments.