Dynamics 365 Security tips – Can a user work with only team roles in Dynamics 365

Can a user work with only team roles in Dynamics 365

Recently I was conducting a training in Dynamics 365 where I got the same question. Just a quick thought and the answer that comes to mind is “Yes”. After all,

a user’s security role is the sum of the security roles directly assigned to the user + sum of the roles the user derives through it’s association with the Teams (provided teams are given security role)

And here I was, where a user is belonging to a team and the team has a security with all the right privileges assigned to make the user work in Dynamics.

When I assigned the role directly to the user and the user is not part of the team, it just worked fine. Now comes the other way round. I remove the user’s security role, assign the same security role to a team and add the user to the team.

image

As you can see, the security role is having pretty much everything to access this account.

Login screen below after the user logged in.

image

Looks awesome isn’t it. The user can see accounts as expected. Just when you think that you have won the hearts of participants heart with your awesome understanding of Dynamics, Dynamics would throw a stick or two at you.

So I clicked on Account and this is what I get below.

image

That facepalm moment where you are just thinking, what just happened?

Now time for some recovery. When I click on Advanced find and try to access accounts, I could see them just fine.

image

You can even create/ read/ write and do all the fancy stuffs as per the role privilege.

Now I just did this trick. I just created a dummy role with absolutely no privilege to any entity and added it to the user. And this time when I click on Sales –> accounts, it just works fine.

So next time when you are up to this, this can save you some awkward moments. Not sure if this a bug or expected behavior but it seems the problem is only with the Home Page grid. Even if I try to read/ write accounts with the user credentials programmatically using SDK.

For the home page grid to work, it requires a role to be assigned directly to the user.

Debajit Dutta (Dynamics MVP)

 

Dynamics 365 Tip Hiding Navigation Pane in forms exposed on Mobile (including Owner relationship)

Hiding Navigation Pane in forms exposed on Mobile (including Owner relationship)

Dynamics have evolved over the years and with time it has become a really vast tool. So many features are in there that we may not have used till now in all our projects. They are there though, sitting quietly and can do some pretty cool stuffs. But you remember them when you need them the most. Once such scenario, I am going to describe here.

So here I was working for a customer who wants to expose their CRM on mobile. We created separate forms for mobile, light-weight than the web versions and exposed them on mobile. However with the mobile real-estate being really less, customer wanted the navigation options to be hidden.

So it started, developers removed all the links in the navigation pane using form editor. And published the form.

Wouldn’t it be perfect. It should just work right. Sadly no. You may end up removing all but the nagging owner relationship (for user owned entities). And in mobile, it would just occupy the first tab.

image

Well, it won’t go, no matter how much hard you try, until you go to the Form Properties –> Display Tab –> Uncheck “Show Navigation”

image

Save and publish the form. And voila, it just works!

Hope this helps

Debajit Dutta (Dynamics MVP)

What Is Microsoft Dynamics 365 ?

Microsoft Dynamics 365 combines two categories of solutions

 

Dynamics 365 CRM & ERP

Customer relationship management (CRM) is what you need for your daily business operations. Customer information databases and sales team tools, along with service and marketing automation tools are all parts of a standard CRM solution. Any tool meant for facilitating interactions with customers and growing sales falls into this category.

Enterprise resource management (ERP) solutions are tools that help you to keep track of financial data, along with powerful tools for accounting, field service tracking, and project resource management. ERP tools allow established businesses and larger organizations to manage extensive networks of resources and information in real time.

Dynamics 365 unifies your CRM and ERP business solutions

Dynamics 365 gives your team the tools to take in new clients efficiently, to maintain existing relationships, and to cut down on time wasted jumping between different platforms to find the right information to empower every member of your team.

Breaking ground with the Dynamics 365 Business

Made for small and medium sized businesses

Dynamics 365 Business Plan

The Dynamics 365Business Plan offers a focused CRM solution with financial tools at an affordable price. You get all the great functionality of the Dynamics 365 Financials, Sales, and CRM solutions that you need to keep your business running smoothly. Do you run a business that needs Dynamics 365 Field Services? With Dynamics 365 you’re not locked into a year-long billing cycle, as you are with traditional CRM solutions. That means that you can try out solutions you’re interested in with the flexibility of a monthly billing cycle.

*Until Spring 2017, the business plan gives you all the features of Dynamics 365 Sales and Customer service enterprise at a price model that fits the budget of a growing SMB.

Learn more about Dynamics 365 Pricing for SMB >

 

Setting your foundation with the Dynamics 365 Enterprise

Made for companies looking for advanced service solutions

The Enterprise Plan provides all of the most advanced business solutions Microsoft has to offer. With standard CRM software, full field service, and marketing tool integration, you can take any client or lead and draw all the available information from the start of that customer relationship to the most up-to-date software.

With all customer information available to you in one seamless experience you’ll be able to shorten down time among all your teams. Marketing can populate information about clients and provide a wide range of statistics, thus giving your sales team the focus to sell the right product to the right people without wasting time.

This plan lets you view and control your resources as you would with a traditional ERP solution, and it also gives you powerful CRM tools to keep your team up-to-date.

Dynamics 365 Sales aka the New Dynamics CRM Online

Your customers are increasingly educated about the products and services they need. Because they have nearly 57% of the decision-making process done before they ever talk to a provider, you need to cut down on the time your sales team spends getting the relevant info for the next deal.

This allows you to manage and prioritize your leads so you can push the right cases to your sales team. They will be able to view important details, such as the strength of your relationship with each customer and how they interact with you. Sales will be able to take this info and tailor their interactions to your customer base.

Your sales team’s job is to sell, not waste time dealing with a cumbersome service platform. Give them Dynamics 365 and they’ll have the tools to build meaningful profiles and real relationships with your customers.

YouTube Preview Image

Dynamics 365 Field Service

A single bad experience can push a customer away from your brand, not only hurting your image but also creating the risk of losing that customer. That’s why it’s important to empower your team to be flexible at every step of the client’s relationship. Dynamics 365 Field Services give them the tools to control every aspect of that relationship.

Dynamics 365 Field Service Connectivity and Mobility

You’ll be able to schedule meetings manually or set up systems to do it automatically for your field agents and track them in real time as they go through their day. Have a client with an urgent case? You’ll be able to track down the closest field agent and get them to that client.

Because Dynamics 365 Field Services integrates your inventory and agreements, your agent won’t be going in a meeting blind. You and your agents will see in real time whether they have the right parts and whether they’re covered under your agreements.

Dynamics 365 Field Service Resources Management

Dynamics 365 Customer Service

Dynamics 365 Customer Service is your agent’s portal to a 360-degree view of your client’s information. You’ll be able to empower agents with a unified service platform so they can know, quickly and efficiently, the  exact needs of every client.

Dynamics 365 Customer Support Center

When interacting with your customers, context is everything; it sets the foundation for a great service experience. Customer service unifies your knowledge base and lets you pick the relevant data to display to your agents, while also giving them an easy way to add and contribute information themselves.
As customer information comes in, you’ll be able to use powerful, interactive visual tools to analyze trends in customer behavior, your client interaction, and your marketing presence.

Seamless Integration between Dynamics 365 & Office 365

Dynamics 365 connects to and seamlessly integrates with all other Microsoft Office 365 software, cutting through downtime and the hassle of integration. It integrates with Excel, Word, Outlook and more to instantly provide your team with the most relevant data.

Dynamics 365 Integrations

Image credit : https://www.randgroup.com/software/dynamics-365/ 

 

Whether you’re in the office or out on a call, accessing Dynamics 365 from your mobile device is just as easy as using the desktop app. Dynamics 365 and most other 365 programs are available in both the iOS and Android app stores or they can simply be accessed through your web browser.

Dynamics represents the evolution of CRM and ERP: In the cloud, on demand, customizable and flexible.

Error: Could not load type ‘Xrm.XrmServiceContext’

Problem Introduction

It is very often to see this error, especially when you are developing a custom app/website connecting to CRM using Portal Extension method or Simplified Connection.

And actually, I learn it from mistake, I realized my mistake, small mistake that making my example not working.

So here is the step to resolve:

Have you followed this step?

https://msdn.microsoft.com/en-us/library/gg695790.aspx
When I say ‘have you’, are you really really comfortable to say yes? Have you really-really followed the instruction?
Well, if you think you ‘have’, it is not your fault, because I also did the same thing.
Now, I still face the error…What should I do?

1. Are you using the correct framework?

If you are using CRM 2015, then you should use .NET 4.5.2.
For CRM 2013, you should use .NET 4.5
And for CRM 4.0 is .NET 4.0

2. Try to check whether you have inserted the generated code

Please check again in your Project, have you inserted the generated code you generated from CrmSvcUtil?

3. Check again your web.config and ContextTypeName (in the ASPX) vs CRMScvUtil Parameters

This is very important, because this was the root of failure I did not realize before.
Here, you need to check first the CrmSvcUtil..
In fact..I generate this:

CrmSvcUtil Parameters

1
2
CrmSvcUtil.exe /codeCustomization:"Microsoft.Xrm.Client.CodeGeneration.CodeCustomization,Microsoft.Xrm.Client.CodeGeneration" /url:"https://aileenexample.api.crm5.dynamics.com/XRMServices/2011/Organization.svc" /out:"XrmContext.cs" /username:admin@aileenexample.onmicrosoft.com /password:passwordme /namespace:Xrm /serviceContextName:"XrmContext"
pause

You seem my parameter for serviceContextname is “XrmContext”, not the “XrmServiceContext”!!

While I check my web.config:

Web.Config

1
2
3
4
5
<microsoft.xrm.client>
    <contexts>
      <add name="Xrm" type="Xrm.XrmServiceContext, Xrm.CRM.2015.WebExample" />
    </contexts>
</microsoft.xrm.client>

And also I check my .ASPX code

1
<asp:LinqDataSource ID="Contacts" ContextTypeName="Xrm.XrmServiceContext" TableName="ContactSet" runat="server" />

Well, I use both in my code :

Xrm.XrmServiceContext

While, I generate the code using servicecontext parameter to this:

image

Of course, it wont be able to load the type.

Then, what I do is, I change my web.config and my ASPX from

Xrm.XrmServiceContext

to

Xrm.XrmContext

Or you can re-generate the file and change the the /serviceContextName param from

“XrmContext” to “XrmServiceContext”

It is common mistake and sometimes is hard to realize!

Tips: Since you can have many changes in your CRM Metadata, you might need to re-generate your generated code very often, then I recommend you to consider the batch execution approach.

See this for detail:

http://missdynamicscrm.blogspot.sg/2014/05/crm-sdk-smart-way-to-use-crmsvcutilexe.html

Hope this saves your day!

Thanks!

Dynamics 365 and SharePoint integration – Sharepoint folder naming issue in CRM-Sharepoint OOB integration when Primary attribute is more than 128 characters

Sharepoint folder naming issue in CRM-Sharepoint OOB integration when Primary attribute is more than 128 characters

CRM-Sharepoint integration – This topic has certainly lost the steam by now and anybody working in dynamics over the last 7-8 years have tried it out so many times. Done and dusted topic, isn’t it?

But just when I think I know it all, Dynamics surprises me with some hidden nuances and my today’s post is on it.

So here I was, setting up the mundane CRM-Sharepoint OOB integration and directly set-it up in client’s production environment. OOB feature, no testing required. But suddenly one issue reported by customer – “My two records in account are sharing the same folder in Sharepoint”.

But how is that possible? A little bit of digging and this is what I found out.

In Dynamics CRM – Sharepoint integration, the folder gets formed in the format – Primary Attribute Field value_. So if for an account record, it would be _.

Now let’s play around with the Account Name.

This is below account name I have given for one record.

“the quick brown fox jumps over the lazy dog. the quick brown fox jumps over the lazy dog. the quick brown fox jumps over the lazy dog. the quick brown fox jumps over the lazy dog.”

Below is the name for other account record.

“the quick brown fox jumps over the lazy dog. the quick brown fox jumps over the lazy dog. the quick brown fox jumps over the lazy dog. lorem ipsum dolor sit amet.”. Notice the part in bold I have changed from the previous account.

Now, let’s go and see the folder created for the first account record.

image

There is no guid in the folder name. The reason is in OOB integration, folder name limit is always 128 characters. So if primary attribute name length is more than 128 characters, it would be trimmed to 128 characters and then the folder name is formed. So first lesson learnt,the Guid is not mandatory in the folder naming in Sharepoint for CRM-Sharepoint OOB integration.

Now it’s obvious that this is a potential root-case of problems. I also uploaded one document for this record and as you can see from the screenshot.

Lets go ahead and see the folder created for record 2.

image

As you can see from the above screenshot, the folder name for record 2 is also mapped to the folder for record 1. This is because the first 128 characters for both the account records are same. Hence the same folder got created. And as you can see, although I have not uploaded any file in record 2, still the file uploaded in record 1 is visible here.

This can be a potential problem.

Hope this helps!

Debajit Dutta

ClickDimensions – Dynamics 365 Blog – Install and Configure ClickDimensions

ClickDimensions – Dynamics 365 Blog

This post will take you through configuration and set up of ClickDimensions along with some tweaks in Dynamics CRM.

Products Used: Dynamics CRM 2016 & ClickDimensions

Features & Licensing:ClickDimensions pricing

Request a trial solution: If you are a ClickDimensions Partner, you can request 30-day trial from ClickDimensions.

Once you’ve submitted a request for a demo account, you will receive an email for ‘registration’. Registration includes a request for more details on your Dynamics CRM organization like:

  • Date Centre Location
  • MS CRM Version
  • Organization URL
  • Organization Unique ID (Can be found under settings>>Customizations>>Developer resources)
  • Login ID

configure clickdimensions web form

Image Source: www.clickdimensions.com

You will receive an email to download the managed solution shortly after you complete the registration form. Once you’ve download the solution, you can now import it into your Dynamics CRM organization.

Once the solution import is successful, refresh your CRM organization and you will be able to see the new entities & features.

configure-clickdimensions-web-form-1

configure-clickdimensions-web-form-2

configure-clickdimensions-web-form-3

Objective: To create a web form, integrate it into the website and Dynamics CRM. On submission of form, a ‘Case’ must be created in Dynamics CRM.

Limitation: ClickDimensions lets you create either a lead or contact (based on your selection in CRM) but not cases.

Tip: Create all custom fields and identify all standard fields which you would be using for your web form before getting into ClickDimensions configuration.

Configuration

Following are the key steps to attain our objective:

Create Domain

Go to Settings > ClickDimensions > Domain > New.

create-domain

Domain: ‘Name’ field on the form; this is where you will enter the ‘domain’ of your website. It must be without http and www.

Sub Domain Alias: This is not a mandatory field. If you don’t want to enter this, your web form URL will include ClickDimensions domain details and not your website’s. For example http://au-clickdimensions.com/smsmtcom-ae3mt/pages/oa0cnh1eeaa58q0a8uyoa.html. However, if you provide sub domain, your URL will include your subdomain, e.g. http://web.smsmt.com/smsmtcom-ae3mt/pages/oa0cnh1eeaa58q0a8uyoa.html

You can test your ‘sub domain alias’ by clicking on ‘Test Alias’ button.

test-subdomain-alias

If you see the following screen, that means you are on track.

process-successful

If you do not have a sub domain alias yet and would like to set it up, visit ClickDimensions Setup CNAMEs page.

Create Form Fields

This is different from what you have done with your Dynamics CRM entities. This is entirely about the web form we want to place on our website. Go to settings > ClickDimensions > Form Fields > New.

create-form-fields

Enter a name for your field, select a field type and type ‘Form Field ID’

Following are the types of Form Fields:

  • Text (single line of text)
  • Check Box
  • Date
  • Date & Time
  • Decimal
  • Email
  • Hidden (to learn more, visit ClickDimensions blog on hidden field)
  • Integer
  • List (drop down/pick list)
  • Money (currency)
  • Radio button
  • Text Area (multiple lines of text)
  • URL (website)

It is really important to have at least one email field on your web form. This would avoid duplication because email ID is checked against all CRM leads & contacts after submission. If the email ID already exists in CRM, data is updated against existing record, and if email ID does not exist in CRM, a new record is created.

Form Field ID: Enter any unique text here if you are going to use standard form builder (current scenario). But if you have to integrate your forms with a form capture visit this ClickDimensions Help page.

Once you click on ‘save’, mapping will be enabled on the form, so, that you can map it to lead or contact field or both.

mapping-will-be-enabled-on-the-form

Tricks on Form Fields: You might not immediately see your custom fields under ‘mappings’. You can overcome this issue by changing your field type to ‘list’ and then clicking on ‘publish custom fields’ under mappings. This will bring all your custom fields under mappings. Once done, you can change ‘field type’ back to its previous state (text in current scenario).

tricks-on-form-fields

Read more about Field Mappings here.

Create Web Content

Go to settings > ClickDimensions > Web Content > New.

create-web-content

Enter an appropriate name, then select the type of web content you have. Lookup your domain. Under ‘Create new visitor as,’ select Lead or Contact if required. These are the types of web content that can be created:

  • Form (current scenario)
  • Survey
  • Subscription
  • Landing Page

In ‘Auto response email,’ select a ClickDimensions email template and under ‘email subject’, type a suitable subject. Once you are done entering details, click ‘Save’. Once saved, you can now design your web form by clicking on ‘Design’. If you want your web form to be compatible and responsive for mobile devices, do select ‘yes’ in ‘Web Responsive’.

feedback-form

Once you click ‘Design’, below screen will pop up.

design

On the right hand side, you will see available fields for web form. After making changes, save the form and click preview:

preview-form

Once ready, you can embed URL in your website or blog by clicking on ‘Embed’. For more details this page.

embed-url-2

After your design is complete, click on ‘Publish’.

publish

Posted Forms

Every time a form is submitted on the website, a ‘Posted form’ and a ‘lead’ record is created in Dynamics CRM. Post Form is a ClickDimensions entity. Posted form includes info about any related lead or contact or both. To know more this page.

posted-forms

Limitation on Achieving the Objective

I could have used the lead record created after submission on website and converted it to a case via workflow automation of Dynamics CRM, but Clickdimensions creates a lead only once in the system with one email ID. Afterwards, if any submission comes from the same email ID, it will only update the existing lead record and not create a new lead. But as we know, ‘Feedbacks/Cases/Complaints’ can come multiple times from the same email ID; this didn’t work for me.

Solution: I used the ‘Posted forms’ instead of using leads. So, I created a workflow in Dynamics CRM, which was to create a case in Dynamics CRM upon creation of ‘Posted form’. All details in this case are pre-populated from my Lead record which is linked to (lookup reference) Posted forms. Below screenshot might help:

solution

Hope you find this post useful. Drop your questions & suggestions in the comment box below.

 

Error : Plugin registration tool stopped connecting to Dynamics 365

 

In case you have been trying to get the Dynamics 365 SDK plugin registration tool to work for latest version of Dynamics 365 online and facing issues like this one:

· At making a connection stage the tool keeps on circling all the data centres and still does not connect and gives error such as Bad username or password

· Error during connection such as Bad request

· IF you pick specific data centre also, still get error while connecting.

Well, you need to download the latest plugin registration tool. Following simple steps help to download Dynamics 365 9.0 tools:

You can follow below steps with screens or for more details information look into Microsoft docs link

1. Open Power Shell from windows menu.

2. Navigate to folder location where tools will download.

clip_image002

3. Copy Paste following command in PowerShell command( referred from the Microsoft Link).

$sourceNugetExe = “https://dist.nuget.org/win-x86-commandline/latest/nuget.exe&#8221;

$targetNugetExe = “.nuget.exe”

Remove-Item .Tools -Force -Recurse -ErrorAction Ignore

Invoke-WebRequest $sourceNugetExe -OutFile $targetNugetExe

Set-Alias nuget $targetNugetExe -Scope Global -Verbose

##

##Download Plugin Registration Tool

##

./nuget install Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool -O .Tools

md .ToolsPluginRegistration

$prtFolder = Get-ChildItem ./Tools | Where-Object

move .Tools$prtFoldertools*.* .ToolsPluginRegistration

Remove-Item .Tools$prtFolder -Force -Recurse

##

##Download CoreTools

##

./nuget install Microsoft.CrmSdk.CoreTools -O .Tools

md .ToolsCoreTools

$coreToolsFolder = Get-ChildItem ./Tools | Where-Object

move .Tools$coreToolsFoldercontentbincoretools*.* .ToolsCoreTools

Remove-Item .Tools$coreToolsFolder -Force -Recurse

##

##Download Configuration Migration

##

./nuget install Microsoft.CrmSdk.XrmTooling.ConfigurationMigration.Wpf -O .Tools

md .ToolsConfigurationMigration

$configMigFolder = Get-ChildItem ./Tools | Where-Object

move .Tools$configMigFoldertools*.* .ToolsConfigurationMigration

Remove-Item .Tools$configMigFolder -Force -Recurse

##

##Download Package Deployer

##

./nuget install Microsoft.CrmSdk.XrmTooling.PackageDeployment.WPF -O .Tools

md .ToolsPackageDeployment

$pdFolder = Get-ChildItem ./Tools | Where-Object

move .Tools$pdFoldertools*.* .ToolsPackageDeployment

Remove-Item .Tools$pdFolder -Force -Recurse

##

##Remove NuGet.exe

##

Remove-Item nuget.exe

4. Hit enter button Tools will be downloaded in specific folder.

clip_image004

5. After successful execution of command check tools downloaded in specific location.

clip_image006

clip_image008

Try using this Plugin registration tool with latest version of Dynamics 365 and it will work just fine.

Hope it helps and Happy Learning.

Interested in Training: Click here

Any requirements in CRM/Dynamics 365 – end user,Microsoft  partner or an individual?

Requirement Area – Technical, Functional, Training, Development or consulting?

Written By 

Plugin registration tool stopped connecting to Dynamics 365

Adding Javascript Functions Using Code Editor

Adding Javascript Functions Using Code Editor

Here is the second part of my ClickDimensions Code Editor blog. The first part of my blog talks about Styling ClickDimensions Web Forms using Code Editor. For the second part, I’ll show you how to use the code editor to add Javascript functions.

There are some cases wherein you need custom actions on your web form components. Form field is not the same as the event handler of the Dynamics CRM fields. We need to use the code editor to apply Javascript on your form fields. To give you a basic example, I will show you how to hide a textbox based on your dropdown list value.

Here are my fields:

The “Please specify *” textbox will only appear if “Other” is selected from the dropdown list. Otherwise, it will be hidden.

Before we proceed in constructing our javascript, we need the ID of our fields. You can check my way in getting the field IDs on the first part of my blog.

As best practice, you need to encapsulate your code inside this:

This way, your code will not be triggered on load of your web forms.

Here is my code:

Note: For the jQuery code to work, I need to replace $ to clickd_jquery.

To explain the code,
#f_3619cd88192be71180fe3863bb367d68  is the field ID of the drop-down list. I used its change event to trigger the code when the field’s value is changed.
#f_a3ead8a71a2be71181033863bb367e08  is the field ID of the text box. To set the visibility of the textbox, I used its hide/show method.

Paste the code in your JavaScript Code Editor.

Save the Code Editor window, as well as the form and see if it works.

When it comes to web forms, Javascript is always present. It’s a good thing that in ClickDimensions, there’s a code editor we could use to enhance and add more functions to the Web Form components. This is very helpful as most of the clients may require functions that are not included out-of-the-box. But let’s keep in mind the important note coming from ClickDimensions itself when using Javascript for your web forms.

Feel free to add a comment for any clarifications or questions.

Published at Tue, 27 Jun 2017 17:00:41 +0000

Plugin registration tool stopped connecting to Dynamics 365 , Unable to connect Plugin registration Tool

Plugin registration tool stopped connecting to Dynamics 365

In case you have been trying to get the Dynamics 365 SDK plugin registration tool to work for latest version of Dynamics 365 online and facing issues like this one:

· At making a connection stage the tool keeps on circling all the data centres and still does not connect and gives error such as Bad username or password

· Error during connection such as Bad request

· IF you pick specific data centre also, still get error while connecting.

Well, you need to download the latest plugin registration tool. Following simple steps help to download Dynamics 365 9.0 tools:

You can follow below steps with screens or for more details information look into Microsoft docs link

1. Open Power Shell from windows menu.

2. Navigate to folder location where tools will download.

clip_image002

3. Copy Paste following command in PowerShell command( referred from the Microsoft Link).

$sourceNugetExe = “https://dist.nuget.org/win-x86-commandline/latest/nuget.exe&#8221;

$targetNugetExe = “.nuget.exe”

Remove-Item .Tools -Force -Recurse -ErrorAction Ignore

Invoke-WebRequest $sourceNugetExe -OutFile $targetNugetExe

Set-Alias nuget $targetNugetExe -Scope Global -Verbose

##

##Download Plugin Registration Tool

##

./nuget install Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool -O .Tools

md .ToolsPluginRegistration

$prtFolder = Get-ChildItem ./Tools | Where-Object

move .Tools$prtFoldertools*.* .ToolsPluginRegistration

Remove-Item .Tools$prtFolder -Force -Recurse

##

##Download CoreTools

##

./nuget install Microsoft.CrmSdk.CoreTools -O .Tools

md .ToolsCoreTools

$coreToolsFolder = Get-ChildItem ./Tools | Where-Object

move .Tools$coreToolsFoldercontentbincoretools*.* .ToolsCoreTools

Remove-Item .Tools$coreToolsFolder -Force -Recurse

##

##Download Configuration Migration

##

./nuget install Microsoft.CrmSdk.XrmTooling.ConfigurationMigration.Wpf -O .Tools

md .ToolsConfigurationMigration

$configMigFolder = Get-ChildItem ./Tools | Where-Object

move .Tools$configMigFoldertools*.* .ToolsConfigurationMigration

Remove-Item .Tools$configMigFolder -Force -Recurse

##

##Download Package Deployer

##

./nuget install Microsoft.CrmSdk.XrmTooling.PackageDeployment.WPF -O .Tools

md .ToolsPackageDeployment

$pdFolder = Get-ChildItem ./Tools | Where-Object

move .Tools$pdFoldertools*.* .ToolsPackageDeployment

Remove-Item .Tools$pdFolder -Force -Recurse

##

##Remove NuGet.exe

##

Remove-Item nuget.exe

4. Hit enter button Tools will be downloaded in specific folder.

clip_image004

5. After successful execution of command check tools downloaded in specific location.

clip_image006

clip_image008

Try using this Plugin registration tool with latest version of Dynamics 365 and it will work just fine.

Hope it helps and Happy Learning.

Written by Deepesh Somani, do visit his blog

Plugin registration tool stopped connecting to Dynamics 365

How to setup Dynamics 365 Portals in CRM Online?

How to setup Dynamics 365 Portals in CRM Online?

Follow the below steps to setup Dynamics 365 Portals in CRM Online,

Step 1:Click here and create Dynamics 365 30 day’s trial version

(or)

Use your existing Dynamics 365 Login Credentials to login Office 365 Admin Portal.

Step 2:Click here to navigate to Office 365 Admin Portal.

(For this article, have created Dynamics 365 30 day’s trial version).

Step 3: On the Left hand side menu, you can see Dynamics 365 under Admin Centers. Click on it.

Admin Center - Dynamics 365

Step 4: Follow the below steps,

  1. Click on APPLICATIONS Tab.
  2. Click on Portal Add-On under Manage applications.
  3. Click on MANAGE.

Dynamics 365 Administration Center

Step 5: Provide the below details,

  1. Name: Provide some Name for the Portal.
  2. Type: It is Trial by default.
  3. Select Portal URL: Provide unique name for your portal.
  4. Dynamics 365 Instance: Select your CRM Online Instance name.
  5. Select Portal Language: Select your Portal Language. (For Example: English (United States))
  6. Select Portal Administrator: Select required user to make the person as an Admin for your Portal.
  7. Portal Audience: Select the required Audience to whom this portal for. (For Example: Customer)
  8. Select Portal to be deployed: Select the required portal. Am choosing Dynamics 365 Portals – Custom Portal.

After providing all details, Click on Submit.Dynamics 365 Portal Details

Step 6: Click on Accept.Dynamics 365 Portal - Terms of Service

Step 7: Portal Request is submitted. It will take sometime to import Dynamics 365 Custom Portal Solution to Dynamics 365 CRM and to host the Portal in Azure.

To see the status of the Portal, click on the link as shown in the below picture.

Dynamics 365 Portal - Request Submitted

Step 8: Current Status is as shown below. Please refresh this page after sometime.

Dynamics 365 Portal - Portal being Configured

Step 9: Once portal is created, you can see the Base Portal URL link. Click on it to see your Dynamics 365 Portal.

Dynamics 365 Portal - Portal Created

Step 10: You can see the below Portal Home Page.

Dynamics 365 Portal - Portal Home Page

Step 11: Open Dynamics 365 CRM Online Organization to see the below Portal related Solutions imported and Portals Area in Site Map.

Dynamics 365 Portal - CRM Portals Solutions

Dynamics 365 Portal - CRM Portals Area

Hope you learned a new thing today !!!

Share your valuable feedback on this article.

Advertisements

Published at Mon, 25 Sep 2017 05:33:27 +0000