Tuesday, January 31, 2017

Microsoft Dynamics 365 Technical Interview Questions & Answer- Set-1

Microsoft Dynamics 365 Interview Questions and Answer

There are some common interview questions that are being asked during MS Dynamics 365 Technical interviews.

1. What is the CRM Service of MSCRM?
CRM Service is the main web service and it exposes Six methods such that you can write your code against CRM entities. To perform an operation other than the six operations (six methods provided by Dynamics 365) we will have to use the Execute method.

2. What is the Metadata service of MSCRM?
Dictionary meaning of the word METADATA is data about data and similarly, the metadata holds the information about MSCRM means the information about the entity and attribute e.g. Display name, platform name, size of the attribute, datatype or the attribute, etc. If we want to access any information about any entity (Dynamic or system) we will have to make use of the Metadata service. In the database, we can find the metadata table and the name of these tables begins with the keyword Metadata.

3. What is a discovery Service?
The Discovery service is a global service that helps the caller to determine the correct organization and URL. Microsoft CRM server may include several servers. Each server might be dedicated to multiple organizations. Each of these servers will have a dedicated web-service URL for faster operations. Internally the Microsoft CRM server allocation may change so the discovery service directs the request to its corresponding web-server for further processing.
In short, the Discovery service's responsibility is to find the ‘CRM Service’ and ‘Metadata Service’ URLs.
The discovery service returns the list of organization URLs that the current-requester (the current user) belongs to. The Outlook client configuration discovery service shows the list of organizations the current-user belongs to.
This web-service is used to create an authentication ticket in case of Windows live authentication.
4. Suppose there is a plug-in registered for the account entity. When a user submits a request (e.g. account creation etc.) to the web-server then what will happen in the server?
The plug-in will get loaded into the memory and will perform the operation it is needed to do.
5. Now, what will happen if 100 users will submit the request to the web-server? The plug-in code will get loaded into the memory 100 times?
NO. A noticeable point over here is that Microsoft D365 is a managed application and runs under the .Net framework. So whenever the first request arrives at the web-server the plug-in code is loaded into the memory and will perform its operation and subsequently the same plug-in code will serve the process for other users as well. So this way it saves the amount of time required to load the plug-in into the memory. If the plug-in code is not being used for long then the Garbage collector will identify it and will sweep the plug-in out from the memory.
6. How to add/remove columns in an entity lookup window?
Go to Settings >> Customization >> Select the entity >> Click ‘Forms and Views in the Left Nav Pane” >> Double click the ‘Entity Lookup View’ >> Dialog box appears that contains the Add/Remove and Sorting options for a lookup view.
7. How to Debug the javascript that we write for some validation on entity pages?
Following are the steps that are needed to be followed:
Use Chrome for better and easy debugging.
1. Enable the Debugging in the Internet Explorer – Go to Tools >> Internet Options (the wizard will appear >> Click the ‘Advanced Tab’ >> Under Browsing Section uncheck the ‘Disable script debuting’ checkbox >> Click OK.
2. Edit the javascript code of the Entity Page that you want to debug.
3. Put the statement ‘debugger;’ above the line where you won't do the debugging. e.g. suppose my java-script show ‘Hello World’ message and I want to debug this then following is the way I am going to add the script:
debugger;
alert(‘Hello World’)
4. Save and Publish the corresponding customization.
5. Perform the operation that would trigger the javascript written by you
6. A debugger dialog box will appear and select the appropriate debugger (Visual Studio new or existing instance)
And you may start debugging from the ‘Debugger’ statement of your javascript.
8. What is ‘Append’ and ‘Append To’ privilege in MSCRM? Give one example of it?
‘Append’ and ‘Append To’ privileges works together. ‘Append To’ privilege will allow other entities to get attached to the entity. ‘Append’ privilege will allow the entity to attach the records to the entity with the ‘Append To’ privilege.
Let us understand this with a simple example:
Let us say that you want to attach a note to a case then the note entity should have the ‘Append’ access right and the case entity should have the ‘Append To’ access right.
Let us take one more example to understand this. Suppose you have two custom entities called ‘TestCustomEntity1’ and ‘TestCustomEntity2’. You want to attach the ‘TestCustomeEntity2’ records to ‘TestCustomEntity1’records. For this, you need to have ‘Append’ access right on the ‘TestCustomEntity1’ entity and the ‘Append To’ access right on the ‘TestCustomEntity2’.
Now guess will I be able to attach the records? The answer is “NO” because we need to create a 1:N relationship between ‘TestCustomEntity1’ and ‘TestCustomEntity2’.
Now the user who has the above-mentioned access right in his security role will only be able to add ‘TestCustomEntity2’ records to ‘TestCustomEntity1’.
9. How to create a Custom Entity record using SDK?
Using a Dynamic Entity.
10. How to join two tables using Query Expression?
Using Linked entity. You should always try to minimize the number of SWS calls that we make in the database. Often during code review, it is explored that the number of Microsoft CRM web-service could have been reduced by making use of the Linked-entity concept. So we should always look for the opportunity to minimize the effort.
11. Can we modify the name of the Root Business Unit?
No; We will have to re-install MS D365.
12. Suppose if I have 20 user licenses and I have created 20users. What will happen if I create a 21st User?
The 21st User will get created in MS D365 but that user will be in a disabled state.
13. What is the maximum number of tabs allowed on a Microsoft Dynamics CRM 4.0 form? (old)
8
14. How to enable/disable the form assistant? How to make sure the form assistant is expanded/collapsed on a form?
Navigate to Customization >> Open the Entity >> Open Forms and Views >> Open Form >> Select Form Properties >> Open Display Tab >> Check/Uncheck the “Enable the Form Assistant” and “Expanded by Default”.
15. What was your role in the MS D365 implementation project that you have worked on?
You should be honest while giving an answer to this question and should give a brief overview of the project and your role. This is a very important question because the answer to this question will trigger so many questions. You should highlight the key skills you have; this way, you will divert the attention of the interviewer to your key skills and try not to expose the area in which you are less confident.
16. What was the most challenging task you have faced till now?
Here you should give an answer that exhibits your positive attitude. e.g. for a technical consultant, it may be something like … “I was new to the support and during this experience, I faced challenging issues related to the plug-in that improved my debugging skills. Email-to-case plug-in was really difficult as we had to take care of so many conditions. I have learned one thing during my previous assignment and that is ‘Never give up”.
17. What was the size of the implementation? (i.e. the number of user-licenses)
18. What is an Unmanaged Solution?
In Microsoft Dynamics, we have two types of solutions which are managed and unmanaged.  An Unmanaged solution is nothing but a solution that is still under development or not yet ready for distribution. If an unmanaged solution is completed and if you want to distribute it, you are required to export it and package it as a managed solution.
Once you delete the unmanaged solutions the changes will not be deleted it will be still there.


19. What is Workflow?
Workflow is an automated process to achieve certain business requirements.
The main role of workflows is to automate the various simple and complex functionalities in Dynamics 365. There are two ways to create CRM functionalities: one is using out-of-the-box functionalities and the other is for automating complex functionalities by writing custom workflows using .NET code.  Workflow processes can be run either in real-time or background.

In general, Workflow can be triggered based on specific events or conditions or events being done by the users.  The Windows Workflow Foundation is internally used in CRM to implement workflows.

20. What is the difference between the Role-Based and Object-Based Security Model in MSCRM?
Code-based security is entirely coded in the application itself. Role-based security uses one of the authentication/authorization mechanisms of the application server.
The fundamental concept in role-based security is that of privilege, defined at design time, on a system-wide basis. Each user has a set of privileges (there are well over a hundred privileges) that are enabled for that user. However, Policies and Roles grant privileges and simplify the process.
The other form of security applies to individual instances of objects. There is a fundamental difference between an access right and a privilege: an access right is a right granted to a user on an object), but the privilege is a right granted to a user on a class of objects. Access rights apply only after privileges have taken effect. In other words, if a user does not have the privilege to read accounts, the user will not be able to read any account, whether or not it has been shared.


Thanks for being here .. will cont. updating ...... 

MS CRM MSDN link :
https://msdn.microsoft.com/en-us/dynamics365/crmdevelopercenter.aspx

DYnamics Logo

No comments:

Post a Comment