Is there a way to add or extend web services in Dynamics CRM 2013? - dynamics-crm-2013

Is there a way to add or extend web services in Dynamics CRM 2013? We have an on-premise installation of Dynamics CRM 2013 that third party software need to be integrated with. We don't want to expose built-in web service operations to them.

Dynamics CRM 2013 are exposed for all the users can reach the URL and have the privileges to operate (for example if the user has only the privilege to create accounts he can't create contacts).
You can create a proxy web-service if you want to control the access in different way.

Related

Add support for AD authentication on a MVC 4 application

I have a big MVC 4 application that uses Form authentication.
It has its own user and privileges management using a custom database.
Now I need to adapt this application to allow integration with customer AD and allow SSO using their users.
All the guides I found online assume the creation of a brand new project.
I tried to add support using Connected Services, but I cannot find AD service (Only Office 365 Services with Microsoft Graph, but that's not the case).
I would like to make it configurable so I can choose to deploy in both in its own legacy user management scenario or the AD integration scenario.
Can anyone point me in the right direction?

How to Configure WCF for CRM 2016 IFD

I have a CRM instance that has been updated from CRM 2011 to CRM 2016 IFD. I have an old .net 3.5 website that was working just fine with CRM 2011 using a WSDL added service reference. Changes where required to the website to pass in credentials, now that it is IFD (ADFS 3.0). Those changes have been made. But since it is IFD, I need to change the WCF bindings to point use https and WS-Trust. When I walk through the SDK examples, it says I should be able to point to the Wsdl, to generate the WCF config. The Config is completely empty. I have been able to successfully do this with a 2011 CRM instance that is IFD (ADFS 2.0).
So how do I configure the WCF ABCs? Does CRM 2016 no longer allow this? Do I have a potential ADFS configuration issue (it is also currently requiring users to enter their user name and password when hitting CRM locally, even when on authenticated Domain Machines, so this is entirely possible.).
Therefore your looking to change your code to work with IFD in CRM 2016.
The topic of authentication is covered here:
https://msdn.microsoft.com/en-us/library/gg334502.aspx
You also likely want to look at oAuth as well.
https://msdn.microsoft.com/en-us/library/dn531010.aspx

Custom WCF Service for SharePoint 2010

I read couple of articles about creating custom WCF services for SharePoint 2010 and each suggests creating it under SharePoint project (as oppose to creating a separate WCF Application project or WCF Library). Also, I came across SharePoint WCF best practices.
So my question: is it possible to create a standalone WCF Service and have an option to deploy it inside of SharePoint (let's say I don't want this service to be a part of my wsp)? And what is the best practice?
thanks.
It has to be part of your wsp file if you are going to deploy it in a SharePoint web app. You can create a stand alone wcf service that can connect to a SharePoint site collection and you can also use the SharePoint Client Object Model to remotely connect to a SharePoint site collection. There are numerous walkthroughs on how to do this.
Here is a good starting point for the Client Object Model http://msdn.microsoft.com/en-us/library/ee537247.aspx

Extending Dynamics CRM 2011 Service

I need to create a WCF service to extend what Dynamics CRM 2011 offers and be able to go beyond simple CRUD calls. Are there any good tutorials or code samples covering this topic ?
If you want to add another layer of web services on top of the built in CRM web services that is fine. You will just need to create a normal asmx or WCF service, include the SDK DLLs, and perform the underlying CRUD operations to CRM within. Similar question/answer here - http://social.microsoft.com/Forums/en/crmdevelopment/thread/2c420566-cb9f-4d33-bb97-fea63f1843eb

WCF Authentication

I have a WCF service that uses Membership for security. If I create a Silverlight Business Application It automatically links in with it and authenticates. How do I do the same with Windows Forms, and possibly XNA?
You can use Microsoft's Client Application Services http://msdn.microsoft.com/en-us/library/bb384297.aspx. I think that is what you are looking for.
Client application services make it easy for you to create Windows-based applications that use the Microsoft Ajax login, roles, and profile application services included in the Microsoft ASP.NET 2.0 AJAX Extensions. These services enable multiple Web and Windows-based applications to share user information and user-management functionality from a single server. For example, you can use these services to perform the following tasks: