Nice post – Developing plug-in for CRM 4


While browsing found this wonderful articl, do check it


Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

5 thoughts on “Nice post – Developing plug-in for CRM 4”

  1. Hi Nishant,

    I Need one help.

    To register a plug- in, a user should be a part of deployment admin group right?

    I want the list of users who has been added in deployment administrators group. Is it possible through webservice? If so what request should be made to retrieve it?



    1. For deployment manager we do have a web service in CRM 4 i.e. CrmDeploymentService.
      But it seems that there are no request classes in it which could fetch us the name of all the deployment administrators.
      It has got request classes which provide information about the organizations.

      But i am still looking into it !!!
      Let’s hope there is someway of finding that out 🙂

      And could i know why you need that informaion?


  2. The functionlity is registering and unregistering the plug-in through code. So when user click on register/ unregister a plug-in , I need to check whether the user is there in deployment administrator’s group. if he is not a part of that group then do not allow to go ahead with the process.

    I checked on net and found a blog which says systemuser table in MSCRM_CONFIG db stores the info. and when I checked there the name field remains filled if the user is there in deployment admin group. One solution is to check the name field empty for that user but I think its not a good solution as to direct access the config DB and second the logic is not good .. that might be pos. that the value in the name field may get filled/ use for some other purpose.


    1. I was just checking the same i.e. systemuser table in mscrm_config.

      So when a user clicks on register/unregister button you need to check if the user is a deployment administrator or not.

      One solution like you said would be to check against the systemuser table.
      Other option would be to let the user click on it and if he isn’t the deployment administrator an exception would be raised, which you could catch and provide appropriate message, just like plugin registration tool.


  3. Thanks Nishant. I also need the same functionality in the starting of the installer. So if user is not there in D.A. group then dont allow him to proceed further. This time I think the above idea wont work. because after taking the credentials we will register the product and that time only the above logic will work.. but I need it before that..


Please share your thoughts

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Welcome to the Blog & Website of Paul Andrew

Technical Leadership Centred Around the Microsoft Data Platform

Deriving Dynamics 365

Deriving Solutions and features on Power Platform/Dynamics 365

The CRM Ninja

Thoughts & musings from a Dynamics 365 Ninja!

CRM for You and Me

Customer Relationship Mgt App for the Professional

D CRM Explorer

Learn about Microsoft Dynamics CRM Power Platform customization and implementation and other cool stuffs

Stroke // Jonas Rapp

I know pre-stroke. I will improve who I was.

Power Melange

Power Melange By Shalinee

Clavin's Blog

Power Automate - Power Apps - SharePoint Online - Azure - Nintex - K2 - Artificial Intelligence

Sat Sangha Salon

An Inquiry in Being

The Indoencers

The Influencers & Influences of Indian Music

Monika Halan's blog

Hand's-free money management

D365 Demystified

A closer look at Microsoft Dynamics 365.

Microsoft Mate (msftmate) - Andrew Rogers

Experienced consultant primarily focused on Microsoft Dynamics 365 and the Power Platform


Specific topics by Django Lohn on the whole Microsoft365 Stack

Manmit Rahevar's Blog

One Stop Destination for Microsoft Technology Solutions


Naturally Curious

Brian Illand

Power Platform and Dynamics 365

Steve Mordue MVP

A Microsoft Business Applications MVP

Subwoofer 101

Bass defines your home theater

SQLTwins by Nakul Vachhrajani

SQL Server tips and experiences dedicated to my twin daughters.

Everything D365

Discovering Azure DevOps and D365 Business Applications

Tech Wizard

Lets do IT Spells

XRM Tricks (Power Platform & Dynamics CRM )

Power Platform & Dynamics CRM


Mail to for queries and suggestions

Giving back to the community what I have learned

xrm CRM Dynamics

Dynamics CRM Technical & Functional Info

Dynamics 365 Blogs - Explained in unique way

Sometimes you need to look at things from different perspective.

CRM Keeper

Dynamics 365 Customer Engagement, CRM, Microsoft CRM, Dynamics CRM


Step into the world of a Dynamics 365 Consultant

Dianamics PCF Lady

Diana & Dynamics 365 & Power Platform

Sara Lagerquist

No Code Customization Concepts


developer, designer, writer, fun loving, patriotic, humble and a sweet person inside out :) love and respect people who have a great sense of humor.

Temmy Wahyu Raharjo

dreaming to be a clean coder and TDD minded programmer.

%d bloggers like this: