Dynamics 365
- What is the architecture you follow in Dynamics 365?
- Dynamics 365 follows a modular and connected architecture designed to integrate seamlessly with your existing data, business logic, and processes. Here are some key components of its architecture:
- Microsoft Dataverse: This is a unified data platform that integrates data across Dynamics 365 applications and other Microsoft services.
- Azure Integration: Dynamics 365 leverages Azure services for cloud storage, AI, and analytics.
- Common Data Service (CDS): This allows for data integration and sharing across different Dynamics 365 apps.
- Power Platform: Includes Power Apps, Power Automate, and Power BI, enabling customization and automation without extensive coding.
- Headless Commerce Engine: For Dynamics 365 Commerce, this engine supports omni-channel solutions across physical and digital stores.
- What are the solutions in Dynamics 365?
- In Dynamics 365, solutions are packages that contain different components and customizations to extend or enhance the functionality of your Dynamics 365 environment. They can be used to deploy customizations and configurations across environments, making it easier to manage and maintain consistency. Here are some key aspects of solutions in Dynamics 365:
- Managed and Unmanaged Solutions:
- Managed Solutions: These are typically used for deploying customizations in a production environment. They are locked down, meaning you can't directly modify the components within them.
- Unmanaged Solutions: These are typically used in development and test environments. They allow for more flexibility as you can modify the components within them.
- Components: Solutions can include various components such as entities, forms, views, workflows, dashboards, and more.
- Layers: Solutions can be layered on top of each other, where unmanaged layers can override managed solutions.
- Publisher: Each solution has a publisher, which defines a unique prefix for the components to avoid conflicts with other solutions.
- Dependencies: Solutions can have dependencies on other solutions, meaning they may require certain other solutions to be installed first.
- Exporting and Importing: Solutions can be exported from one environment and imported into another, facilitating the movement of customization across environments.
- What type of components are found in solution?
- In Dynamics 365, a solution is a package of components that can be deployed to extend the functionality of the platform. Here are some common types of components you can find in a Dynamics 365 solution:
- Entities: These represent data structures, such as accounts, contacts, and opportunities.
- Attributes: These are fields within entities, like the name or phone number of a contact.
- Relationships: These define how entities are related to each other, such as the connection between an account and a contact.
- Forms: These are user interfaces for interacting with entities, like the layout of a contact form.
- Views: These define how data is displayed and filtered, such as a view for recent opportunities.
- Workflows: These automate processes, like sending a follow-up email after a meeting.
- Reports: These provide insights into data, such as sales performance reports.
- Dashboards: These offer visual summaries of data, like a dashboard showing key performance indicators.
- Email Templates: These are pre-defined email formats for common communications.
- Ribbon Customizations: These modify the application ribbon to add or change commands.
- These components work together to create a cohesive solution that can be customized and deployed to meet specific business needs.
- What are the ways to exports a solution? Which is preferred over other?
- In Dynamics 365, you can export a solution using the following methods:
- Export Unmanaged Solutions: This is the most common method for exporting customizations. Unmanaged solutions are intended for development and testing environments. They allow you to transport configuration changes from one environment to another or store them in your source control system.
- Export Managed Solutions: Managed solutions are used to deploy customizations to production environments. They are more restrictive than unmanaged solutions and are intended to ensure that customizations do not interfere with the underlying system.
- Preferred Method: The preferred method depends on your specific needs:
- For Development and Testing: Use unmanaged solutions. They are flexible and allow for easy modifications and testing.
- For Production Deployments: Use managed solutions. They provide a more controlled deployment process and help maintain the integrity of the production environment.
- What is a preferred solution in Dynamics 365?
- In Dynamics 365, a Preferred Solution is a feature that allows users to designate a specific unmanaged solution as the default location for all their customizations. This simplifies the management of customizations by ensuring that all new components and modifications are automatically saved to the chosen solution.
- Benefits of Using a Preferred Solution:
- Consistency: All customizations are kept in one place, making it easier to manage and track changes.
- Control: Users have more control over where their customizations are stored, avoiding the default solution which can be less organized.
- Simplified Export/Import: It simplifies the process of exporting and importing solutions between different environments.
- How to Set a Preferred Solution:
- Sign into Power Apps and select Solutions from the left navigation pane.
- Select the unmanaged solution you want to make your preferred solution.
- Click on "Set preferred solution" on the command bar.
- What is Page Life Cycle in Dynamics 365?
- The Page Life Cycle in Dynamics 365 refers to the sequence of events that occur from the time a page is loaded until it is fully rendered and interactive for the user. Here’s a brief overview of the key stages in the Page Life Cycle:
- Page Load: The page is requested and begins to load in the browser.
- Form Load: The form associated with the page is loaded and initialized.
- Form Ready: The form is fully loaded and ready for user interaction.
- OnLoad Event: Custom scripts or plugins that need to run when the form loads are executed.
- OnSave Event: Custom scripts or plugins that need to run when the form is saved are executed.
- OnClose Event: Custom scripts or plugins that need to run when the form is closed are executed.
- Page Unload: The page is unloaded from the browser.
- Understanding the Page Life Cycle is crucial for developers working with Dynamics 365, as it helps in optimizing performance and ensuring that custom scripts and plugins are executed at the appropriate times.
- Which one executes first in D365 page: Business Rule or JavaScript?
- In Dynamics 365, Business Rules and JavaScript are used to manage form behavior and logic, but they are executed at different times in the Page Life Cycle:
- Business Rules: They can run both server-side (on data import, record creation, and updates) and client-side (on form load or field change).
- JavaScript: This runs on the client-side (in the user's browser) and can be triggered by various events, such as form load, field change, or form save.
- Where can we use JavaScript and Business rule in Dynamics 365?
- In Dynamics 365, you can use JavaScript and Business Rules to apply custom logic and automate processes. Here's a brief overview of where each can be used:
- JavaScript:
- Client-Side Scripting: JavaScript is used for client-side scripting in model-driven apps. It allows you to apply custom business logic for displaying data on forms.
- Form Events: You can attach JavaScript code to react to events such as form load, data change, and data save.
- Customization: JavaScript provides a powerful way to extend the behavior of the application and enable automation in the client.
- Business Rules:
- Form Logic: Business rules provide a simple interface to implement and maintain fast-changing and commonly used rules.
- Field Validation: You can set field values, clear field values, set field requirement levels, show or hide fields, enable or disable fields, and validate data.
- Accessibility: Business rules can be applied by users who don't know JavaScript and aren't developers.
- Forms: They can be applied to Main and Quick Create forms in Dynamics 365 Customer Engagement (on-premises), web apps, tablets, and Outlook (online or offline mode).
- What is Admin Role in Dynamics 365?
- In Dynamics 365, the Admin Role refers to Dynamics 365 Administrator. This role is responsible for managing multiple environments and performing administrative functions within Dynamics 365. Here are some key responsibilities:
- Manage Environments: The Dynamics 365 Administrator can sign in to and manage multiple environments.
- Admin Functions: They can perform administrative functions in Microsoft Power Platform because they have the System Administrator role.
- Security Groups: If an environment uses a security group, the Dynamics 365 Administrator needs to be added to that security group to manage the environment.
- How be a solution can deployed in Dynamics 365?
- Deploying a solution in Dynamics 365 involves several steps. Here's a high-level overview:
- Create a Solution
- Unmanaged Solution: Start by creating an unmanaged solution. This allows you to make changes and test your solution.
- Managed Solution: Once you're satisfied with your unmanaged solution, you can export it as a managed solution. Managed solutions are more secure and prevent unintended changes to existing components.
- Package the Solution
- Export the Solution: Use Dynamics 365 solution management tools to export your solution.
- Managed Properties: Set managed properties to control which customizations can be made by users who install your solution.
- Deploy the Solution
- Lifecycle Services (LCS): The most common method is to use LCS to apply your package. LCS provides tools for managing and deploying solutions.
- Command Line: You can also install a deployable package from the command line.
- AOSService Website: Another method is to copy or sync the model files into the AOSService website.
- Automate Deployment
- DevOps CI/CD Pipeline: Automate the deployment process using DevOps CI/CD pipelines. This ensures consistent and reliable deployments.
- Test and Validate
- Testing: Test the solution in a development or testing environment before deploying it to production.
- Validation: Ensure that all components work as expected and that there are no issues.
- What is Customer Field Services (in Advance level)?
- Customer Field Services in Dynamics 365, especially at an advanced level, refers to Dynamics 365 Field Service. This solution is designed to help organizations manage and optimize their field service operations. Here are some key features and capabilities:
- Key Features
- Intelligent Scheduling: Optimizes technician assignments based on proximity, skills, availability, and customer preferences.
- Predictive Maintenance: Uses IoT sensors and machine learning to proactively maintain equipment and reduce downtime.
- Remote Assistance: Empowers technicians to resolve issues remotely using mixed reality tools.
- Real-time Collaboration: Allows technicians to access and update customer information in real-time.
- Insightful Analytics: Provides in-depth analytics and reporting to monitor performance and make data-driven decisions.
- Advanced Capabilities
- Self-Healing Commands: When an anomaly is detected, the system can attempt to fix the issue automatically.
- Automated Work Orders: Automatically generates work orders based on real-time data.
- Customer Portals: Provides real-time appointment visibility and automated service reminders.
- Personalized Surveys: Sends personalized surveys to customers after service calls to gather feedback.
- What is the scope of Custom Workflow /Flow?
- The scope of Custom Workflows (or Flows) in Dynamics 365 defines the level at which the workflow can operate and affect records. There are several options for defining the scope:
- User: The workflow runs only on records owned by the same user who created the workflow.
- Business Unit: The workflow runs on records owned by users within the same business unit.
- Parent: Child Business Unit: The workflow runs on records owned by users within the same business unit and any child business units.
- Organization: The workflow runs on records owned by any user within the entire organization.
- Choosing the appropriate scope ensures that the workflow affects only the intended records and users.
- What are the usage of Custom Workflows / Power Automate Flows in Dynamics 365?
- In Dynamics 365, the scope of custom workflows and flows (using Power Automate) is broad and powerful, allowing you to automate a wide range of business processes. Here's an overview of what each can do:
- Custom Workflows
- Custom workflows in Dynamics 365 are used to automate business processes without user intervention. They can be triggered by system events, such as record creation or update. Here are some key aspects:
- Process Automation: Automate tasks such as sending emails, updating records, or creating new records.
- Conditional Logic: Implement complex business logic with conditional branching.
- Asynchronous Execution: Execute long-running operations in the background without impacting user experience.
- User Interaction: Although primarily automated, workflows can prompt users for input or decisions.
- Custom Code: Extend workflows with custom C# code using custom workflow activities.
- Power Automate (Flows)
- Power Automate, formerly known as Microsoft Flow, is a cloud-based service that allows users to create automated workflows between apps and services. Its scope includes:
- Cross-Platform Integration: Connects Dynamics 365 with hundreds of other services, both within Microsoft (e.g., SharePoint, Outlook) and third-party (e.g., Twitter, Slack).
- Triggers and Actions: Flows can be triggered by various events and perform a wide range of actions, from simple data updates to complex, multi-step workflows.
- User-Friendly Interface: Provides a graphical interface to design workflows without needing extensive coding knowledge.
- Templates: Offers pre-built templates to get started quickly with common scenarios.
- Advanced Logic: Supports advanced features such as loops, conditions, and parallel branches.
- Use Cases
- Approval Processes: Automate multi-step approval workflows that require input from multiple users.
- Data Syncing: Keep data synchronized across different systems and platforms.
- Notification Systems: Automatically send notifications based on specific triggers and conditions.
- Report Generation: Automate the creation and distribution of reports.
- Customer Engagement: Enhance customer interactions by automating follow-up emails, appointment scheduling, and more.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- What are different type of Views available in Dynamics 365?
- System Views-
- These are the views that are available to any user who can access the entity. They are managed by system administrators or system customizers. The only way to block specific users from seeing system views is by removing their access to the entire entity.
- Just because a user can see and select a System View from the list does not mean that they can see all of the records in that view. They can only see records within views that they have access to see. This is true of both System Views and My Views. For example, if you have business unit security setup and it is based on Territories or Regions, a user who can only see accounts within certain states will only see those records when they select a view showing All Active Accounts. Whereas a system administrator in the Parent business unit, who has the highest level of security, can see all records across all Territories/Regions when accessing the same view.
- Personal Views-
- These are the views that a user has saved through an Advanced Find. They are personal views that only the owner of the view can see, unless they share it with other users and/or teams. The system administrator can manage the users' access level to Personal Views by updating the Saved View entity in security roles.
- Can we convert System views to Personal Views and vice versa?
- You can easily copy a System View to a Personal View, but you cannot copy a Personal Views to a System View. The view "My Active Accounts Custom" in below screenshot is a Personal View while rest of the views are System Views. In order to save any System View as a Personal View, you need to apply additional filter upon the existing System View. Then click on the down arrow icon of the views drop down. Here you will find an option "Save as new view".
- Only the owner of the Personal View can see the personal view until they are shared. Even a System Administrator cannot see their personal saved views until they are shared. This can cause issues because once a user is disabled, their saved views where they are the Owner, are disabled as well.
- What is a Plugin?
- Plugin refers to a custom logic that would modify the behavior of the CRM. Plugins are registered in platforms related to CRM against events that correspond to create, delete, update or change. It also requires programming language with the concepts of CRM and SDK.
- What is a Workflow?
- Workflows are basically a collection of actions which are carried out with the help of certain rules laid down. It facilitates the atomization of information and tasks passes from one user to other.
- What are the various types of solutions in Dynamics CRM?
- There are mainly 2 types of solutions in Dynamics CRM-
- Managed
- Unmanaged
- What do you mean by a Managed Solution?
- Managed solutions are a kind of complete package that can be distributed and install in respective CRM organizations. Managed solutions cannot be altered.
- What do you mean by an Unmanaged Solution?
- An unmanaged solution can be defined as a collection of customizations that are unmanaged in nature. However, the customizations cannot be rolled back if any unmanaged solution is imported into CRM. One can export a solution as a managed solution which can be distributed.
- What is a task flow and how it can be used?
- A task flow is a type of Business Process Flow which can be designed in Dynamics 365 for Phones or Dynamics 365 for Tablets based upon the common tasks a user performs. When users tap the New task in their mobile app, it will take them through from Start to Finish so that they don't forget any important step.
- What is the use of Xrm.mobile.offline?
- Xrm.mobile.offline is a namespace used to perform CRUD operations for records in Dynamics 365 for Phones and Dynamics 365 for Tablets while working in offline mode. These client APIs will work only if you are in the offline mode and for entities that are enable for mobile offline synchronization.
- Does WebApi called using JavaScript would work form outlook in offline mode?
- It will work in Dynamics 365 only and not in 2016 SP1 or before. The context.getClientUrl function automatically redirects requests to the local version of the service when Dynamics 365 for Outlook is offline.
- What is Data Export service and what is its scope?
- Data Export is an add-on service made available as a Dynamics 365 online solution that adds the ability to replicate Dynamics 365 online data to a Microsoft Azure SQL Database store. The supported destinations are Microsoft Azure SQL Server & Microsoft Azure SQL Database. Data Export service intelligently synchronizes the entire Dynamics 365 schema and data initially and thereafter synchronized on a continuous basis or the delta changes in the Microsoft Dynamics 365 online.
- How do we know the owner of a managed solution?
- Every managed solution is linked with a publisher. Publisher is linked with the owner. This way, we can know about the owner of a managed solution.
- What is "Append" and "Append To" privilege in Dynamics 365?
- Both these privileges work together. "Append To" privilege allows other entities to get attached with the current entity. "Append" privilege allows the current entity to attach the records with other entity having "Append To" privilege. Let's understand with an example:
- We have 2 entities:
- Entity-Primary
- Entity-Secondary.
- Now, I want to attach the records of Entity-Secondary to the records of Entity-Primary. For this, I must have "Append To" rights on Entity-Primary and "Append" upon Entity-Secondary. Then I need to create 1:N relationship between Entity-Primary and Entity-Secondary. After then, we can be able to attach Entity-Secondary records to Entity-Primary records.
- What is the difference between "Assign" and "Share"?
- Assign- Allows the user to change the owner of the record to another user or team.
- Share- Allows the user to share an existing record. It doesn't remove the ownership of current owner. When sharing a record, it’s possible to specify the permission given to the user. Ownership of record is shared among them.
- What are the high-level steps to enable field level security?
- Enable field level security for an attribute
- Create a field level security profile
- Associate users or teams with the profile
- Add specific field permissions like Create/Read/Update/Delete for a specific attribute to the profile
- What would happen if multiple profiles assigned to user/team?
- User/team will receive the least restrictive permission means highest of all the privileges.
- If I have 20 user license and I have already created 20 users. What will happen if I create 21st user?
- The 21st user will get created in CRM but will remain in disabled state.
- What is Email router in Dynamics CRM?
- Email router is Dynamics CRM forms the software component which creates an interface between the Organization's messaging system and the Microsoft Dynamics CRM deployment.
- I have written a business rule as well as JavaScript method. Which will trigger first?
- JavaScript method. Reason: JavaScript method is a client-side code and synchronous in nature. while Business rules are asynchronous process. Therefore, JavaScript method will execute first.
- Can we hide tabs in Dynamics CRM form?
- Yes, using JavaScript code:
Xrm.Page.ui.tabs.get('tab_name').sections.get('section_name').setVisible(false);
- I am using Singleton Pattern and found that 2 objects are created. How is it possible?
- If you have multiple worker processes configured then not all the requests are handled by same process therefore not the same singleton. So, if multiple singletons are handling requests then it is obvious to have multiple objects created.
- How would you migrate Closed cases from one D365 environment to another?
- The prominent answer is-
- Import resolved cases from Excel
- It is a usual import process. The only difference is that, if you are importing the filtered data, then it would not be having Status column in excel and the moment you import the data, by default Status is set to Active. For sake of convenience, first export all data so that it will be having Status column as well. Then you may filter out the unwanted data and later on import that excel.
- You may also visit-
- Also read on how to import data-
- How to measure performance of a Dynamics 365 CE system?
- There is no direct approach in Dynamics 365 online. However, Microsoft has enabled 2 performance monitoring platforms to monitor the performance of the Dynamics 365 application as well as the custom apps in azure.
- Common Data Service analytics [Earlier known as Organization Insights]
- Application Insights
- Common Data Service Analytics- Microsoft has improved how you view metrics for your organization. You no longer need to install or update a solution. Instead, you can view Customer Data Service analytics right from the Power Platform Admin center to quickly view adoption ad user metrics for your organization. [ Earlier, a custom solution called Organization Insights needed to be installed to see this dashboard in CRM].
- Application Insights- To monitor your application, you add an Application Insights SDK to your application. The SDK sends telemetry to the Application Insights portal, where you can use our powerful analysis and diagnostic tools, or export the data to storage.
- Apart from these two, Microsoft has introduced a new feature (Power Platform CoE Toolkit) to monitor and govern the usage of apps, flows and other components and additional auditing capabilities across different tools at one place (eg: office 365, Dynamics 365 Apps. Power BI. Power Apps etc).
- What Azure services do you leverage to provide solutions for D365 based applications?
- Azure Functions
- Logic Apps
- DevOps
- Plugins
- ...
- What are the components of Technical Design Document?
- Technical design docs are often part of a larger process which typically has the following steps:
- Product requirements are defined- These will typically be represented by a Product Requirements Document (PRD). The PRD specifies what the system needs to do, from the perspective of a user or outside agent.
- Technical requirements are defined- The product requirements are translated into technical requirements- what the system needs to accomplish, but now how it does it. The output of this step is a Technical Requirements Document (TRD).
- Technical design- This contains a technical description of the solution to the requirements outlined in the previous steps. The Technical Design Document is the output of this step.
- Implementation- This is the stage where the solution is actually built.
- Testing- The system is tested against the PRD and TRD to ensure that it actually fulfills the specified requirements.
- Between each of these stages there is typically a Review Process to ensure that no mistakes were made. If any errors, misunderstandings, or ambiguities are detected, these must be corrected before proceeding to the next step.
- What all factors do you consider when you integrate multiple distinct systems?
- There are a couple of approaches.
- Implementing services- That should communicate with separate systems, especially if you need updates in real time.
- Separate Integration Application- That is responsible for shuffling the data around.
- What are activities conducted as part of preparation for Go-Live?
- The activities are-
- All Test Cases are Executed and Passed
- There are no Remaining Severity 1 or 2 Bugs Outstanding
- Data Migration and Cutover Activities Have Been Practiced
- Production Data is Staged and Ready to be Migrated
- Your Production Environment is Ready
- The Rollout Strategy is Defined, Scheduled and Communicated
- The Support Team is Prepared
- For more details read- ERP Project Go-live Readiness Checklist
- What is the relationship between Account and Contact?
- The relationship between Account and Contact is 1:N. It means, an Account can have multiple Contacts but a Contact cannot be associated with multiple Accounts.
- An Account can be a parent of a Contact or an Account but Contact cannot be a parent of an Account.
- What is Form Level security?
- Form level security used to secure a form, using this form level security we can restrict the Entity form to displaying for everyone OR displaying only for some security roles.
- What is Field Level security?
- Field level security in CRM lets you dictate which fields users can view or edit. If you want to prevent users from (accidentally) changing data like an account name, account number or status, enabling or disabling field security for a field can give them read only access to these specific fields.
- What is the importance of Field Level security in CRM?
- Secured Data. It is important to keep your sensitive data secured. With field level restrictions, the data will be available only to the required personnel.
- As CRM may contains sensitive information which you would not want to show to some of your employees like interns, contractual employees or other CRM users. Hence, Dynamics 365 provides field level security functionality.
- Field Level Security in Microsoft Dynamics CRM allows you to expand your security model beyond entities to include specific fields. However, you cannot secure fields as part of your typical security role setup. It’s a completely separate process.
- Security Profiles can be configured to grant a combination of the following 3 permissions at the field level:
- Read (read-only access to field data)
- Create (users or teams can add data to this field when creating a record)
- Update (users or teams can update the field’s data after it has been created)
- For more details, please refer to the URL: https://www.encorebusiness.com/blog/microsoft-dynamics-crm-field-level-security/
- What are the permissions we can restrict on specific field with Field Level security?
- We can apply restriction using a combination of the following 3 permissions on specific field with field level security:
- Read - Allows the user with the security profile assigned to have read-only access. The user can only view the field data and cannot make any changes to it.
- Create - Allows the user to add value to the data field when creating a new record
- Security Profiles can be configured to grant a combination of the following 3 permissions at the field level:
- Read (read-only access to field data)
- Create (users or teams can add data to this field when creating a record)
- Update (users or teams can update the field’s data after it has been created)
- - Allows the user to make modifications and update the data field's value after it has been created.
- Users, who do not have Read access to a particular data field, will only get to see series of asterisk (*) strings in place of actual value (like "******")
- Can we control the Field Level security based on security roles?
- No. Field Level Security can only be applied for users or teams, not security roles.
- Let's take an example- We have a field "Salary" and we have security roles as "Managers" & ""Employees". The objective is "Make Salary Field Editable for Managers and Read-only for Employees".
- Solution-
- Salary Field Editable for Managers- Create an Owner Team and add Managers to that team, then create a field security profile where you can add Manager's Team and finally set the privilege to Read/Write for that team.
- Salary Field Read-only for Employees- Create an Owner Team and add Employees to that team, then create a field security profile where you can add Employee's Team and finally set the privilege to Read for that team.
- What is Discovery and purpose of it?
- This is a Web API only service and with this service you will no longer have to prompt users for their region, as the service can return a list of all instances from all regions at once. One of the key aspects of using the new Global Discovery Service is getting an authorization token for the Dynamics Web API that allows you to properly access this resource.
- You might have heard about the Discovery Service of MS CRM a number of times. It is used to get all the organizations, related to an application but why we don't use this service in our day-to-day development of MS CRM. The reason is that we mostly work in service companies for MS CRM in which we don't come across the scenario in which Discovery service might be useful. For companies that builds tools around MS CRM uses this service, mostly product-based companies which builds tools for CRM.
- The scenario in which Discovery Service can be used. If you are building a tool in which you are required to let user, choose the organization. Example- Plugin Registration tool, when you enter the tool, it shows all the organizations like dev, test etc.
- What are the REST calls in CRM?
- REST APIs is an acronym for Representational State Transfer Application Programming Interface. A REST API is a data source’s frontend, allowing users to create, retrieve, update, and delete data items. An API is typically a portal to the rest of the world for developer teams.
- The Dynamics 365 REST APIs are used to manage all corporate activities as well as customer-related functionalities. The REST APIs for Microsoft Dynamics 365 makes it easy for Developers to acquire and alter data from the CRM software. Companies can also link to other software and business applications to improve user experiences, such as BI resources, ERP software, customer apps, and portal systems. It supports REST-based, SOAP-based, and web-based APIs.
- What is early binding and late binding. How is it used in CRM?
- When you work with the Organization service assemblies you have two programming styles you can use: late bound and early bound.
- The key difference between early and late binding involves type conversion. While EARLY binding provides compile-time checking of all types so that no implicit casts occur, LATE binding check types only when the object is created, or an action is performed on the type. The Entity class requires types to be explicitly specified to prevent implicit casts.
- Late binding allows you to work with custom tables (entities) or columns (attributes) that weren't available when your code was compiled.
- For more details refer URL: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/org-service/early-bound-programming
- What is PrinciplalObjectAccess table why is it used?
- The PrincipalObjectAccess table is used to store the data around record sharing. To manage record-level collaboration and to provide user access to shared records, all sharing of records and their permissions are stored in the PrincipalObjectAccess (POA) table.
- For more details refer URL: https://learn.microsoft.com/en-us/power-platform/admin/manage-principalobjectaccess-storage
- What is the use of stringmap table?
- Stringmap table used in MSCRM for storing the details of OptionSet Fields exists in an organization. It contains all the data (Attribute Name, OptionSet name, option value, option name) of option set.
- For more details refer URL: http://microsoftdynamics.in/2017/12/18/stringmap-table-in-ms-crm/
- What are the different types of Authentication methods supported in Dynamics CRM?
- The following table outlines the security considerations for the available authentication methods. Availability is an indication of the user being able to use the authentication method, not of the service availability in Azure AD:
Authentication Method Security Usability Availability Windows Hello for Business High High High Microsoft Authenticator App High High High FIDO2 Security Key High High High Certificate based authentication (preview) High High High OATH Hardware Tokens (preview) Medium Medium High OATH Software Tokens (preview) Medium Medium High SMS Medium High Medium Voice Medium Medium Medium Password Low High High - For more details refer URL: https://learn.microsoft.com/en-us/azure/active-directory/authentication/concept-authentication-methods
- What are different Types of Modules in Dynamics 365?
- Types of Modules in Dynamics 365:
- Sales-
- Dynamics 365 Sales
- Service-
- Dynamics 365 Customer Service
- Dynamics 365 Field Service
- Marketing-
- Dynamics 365 Marketing
- Customer Data Platform-
- Dynamics 365 Customer Insights
- Customer Feedback-
- Dynamics 365 Customer Voice
- Explain details about "Event Execution Pipeline"?
Event Stage Name Stage Number Description Pre-Event Pre-Validation 10 Stage in the pipeline for plug-ins that are to execute before the main system operation. Plug-ins registered in this stage may execute outside the database transaction.
Security Note: The pre-validation stage occurs prior to security checks being performed to verify the calling or logged on user has the correct permissions to perform the intended operation.Pre-Event Pre-Operation 20 Stage in the pipeline for plug-ins that are to execute before the main system operation. Plug-ins registered in this stage are executed within the database transaction.
Note: Avoid canceling an operation here. Canceling will trigger a rollback of the transaction and have a significant performance impact.Platform Core Operation MainOperation 30 In-transaction main operation of the system, such as create, update, delete, and so on. No custom plug-ins can be registered in this stage. For internal use only. Post-Event Post-Operation 40 Stage in the pipeline for plug-ins which are to execute after the main operation. Plug-ins registered in this stage are executed within the database transaction. Use this stage to modify any properties of the message before it is returned to the caller.
Note: Avoid applying changes to an entity included in the message because this will trigger a new Update event.- Will auditing slow down my system dynamics 365?
- Auditing will not slow down your CRM system. All auditing data is stored in a single audit table. This design keeps the audit logs completely separated from other CRM data.
- Does audit data count in against my CRM storage Quota?
- Yes, it does. That is why we recommend deleting audit data on a regular basis as part of a yearly maintenance. Finding out how much disk space your audit data is taking is very simply. Simply navigate to Settings / Auditing / Audit Log Management.
- Can I audit just changes done by a couple users?
- Auditing is turned on or off based on the entity or attribute. If auditing is only desired for a couple users custom code is needed.
- Can I schedule auditing to be turned off during data import?
- Yes. Auditing can be scheduled to be turned off during a data import, but this requires custom code.
- For more details refer URL: https://community.dynamics.com/crm/b/crmlessons/posts/crm-2011-auditing-best-practices
- What type of operations and data can be audited in CRM?
- Create, update, and delete operations on records.
- Changes to the shared privileges of a record.
- N:N association or disassociation of records.
- Changes to security roles.
- Audit changes at the entity, attribute, and organization level.
- Deletion of audit logs.
- For more details refer URL: https://drinksavvyinc.com/types-of-essay/what-type-of-operations-and-data-can-be-audited-in-crm