Add the App to Dynamics

   Words by Paul McQuillan

   on 02/06/2020 10:03:00

Since we started developing DocDrive there was always a challenge to how quickly we can install and release to a Customer.

We wanted to get away from the bad old world of ‘big integrations’ that could cost a large chunk of Consultancy Time and limit the agility for how a Customer’s handles their Document Management.

We aimed to deliver half of this requirement by building a very flexible rules engine that would allow any Entity in Dynamics to work with any SharePoint Structure of Site Collections, Sites. Libraries and Folders.

The other half was building a quick way a Customer could plug their use of Dynamics into DocDrive and start using SharePoint for Document Management in minutes rather than Hours or Days.

It takes time, effort and dedication to build this type of ‘self sign-up’ wizard, and a good infrastructure behind the scenes, but we’ve launched our DocDrive365 Wizard recently to go alongside our promotion of DocDrive in the US.

We can open the DocDrive365 Wizard here, and use the following steps to add DocDrive to a Dynamics 365 Tenant.

Step 1 – Tell us a bit about yourself

As a starter for ten, we ask a new Customer for their Name, Company and Email Address.

image

With these details supplied, we can click NEXT.

This is used to create the main Connection Record in our Multi-Tenant Tracking System. (which is itself stored using the Microsoft Common Data Service)

Step 2 – Authenticate your Azure AD with DocDrive

Your using Dynamics 365 in the Cloud, then you are using Azure Active Directory to manage your Users and Permission Levels.

DocDrive is a multi-tenant App within Azure that needs your permission to connect to your Company’s Azure AD and use this for Authentication.

Clicking into Step 2 will redirect to a page in Microsoft Azure asking you to authenticate the DocDrive 365 App with your Azure AD – and this will require you to log in to your use of the Microsoft Cloud as an Admin User. (or at least a User with sufficient rights to grant your Organisation to communicate with the DocDrive App)

Azure Sign In 2

Once done, you will be taken back to Step 2 of the Wizard and able to click NEXT.

Step2

How does this work?  Well there is a great article here on building a new Azure AD Multi-Tenant App – and the DocDrive Service then uses this to manage the requests between your use of Dynamics and SharePoint in the Cloud.

Step 3 – Service Account to communicate with Dynamics and SharePoint

Here we supply the URL for our instance of Dynamics, alongside a Username and Password for how DocDrive will communicate with Dynamics – and, crucially, how it will deploy the Managed Solutions that make up the DocDrive Customisations.

To obtain our Dynamics URL, we can copy and paste the URL for how we access Dynamics 365.

CRM_URL

NOTE: We don’t need to worry about whether we include the /main.aspx or any here Request String Details – the wizard will chop out what it needs.

We advise doing this for a Sandbox or UAT Build of Dynamics initially so you can trial and evaluate the DocDrive way of integrating Dynamics and SharePoint before adding into your Live Environment.

Step3

Clicking NEXT here will then run a Test Connection to check we can communicate with Dynamics and then move on to handling SharePoint.

Why do I have to supply an Account here?  As an App, DocDrive can create a brand new Application User Account in your Azure AD, however this is currently not as automatable as we would like – so we instead opt to use a particular User or Service Account to deploy the Managed Solutions and App into your use of Dynamics.

Step 4 – Pick SharePoint

The Wizard will read Dynamics to look at which SharePoint Site is potentially already configured to work with Dynamics,

Often your Subscription to the Microsoft Cloud will include a Subscription to SharePoint and this will already be setup in Dynamics as a Default SharePoint Site.

If so, then you will see the Default Site listed here and can simply click NEXT to continue.

Step4

If not, the Wizard will offer you the option to supply your SharePoint URL and will set this up in Dynamics – this can be any SharePoint Top-Level or Individual Site URL.

SharePoint_URL

This is being read from the list of SharePoint Sites stored in the Document Management area of the Dynamics 365 Settings – for convenience, the wizard is simply defaulting to the SharePoint Site setup as your default in Dynamics, however DocMan presents a range of options for what is possible here, including the ability to bring multiple Sites or Site Collections together.

Step 5 – Deploy and Finish

The next step will start deploying the Managed Solutions and Default Configuration into your instance of Dynamics to get started.

This takes place in the background via our Release Management Engine – and so we can either simply close the Wizard, as we will receive an email when the deployment is complete, or we can click REFRESH to see updates on the Deployment.

Once the Deployment has finished, you will receive an Email stating that DocDrive is ready for use in your instance of Dynamics.

As part of the Deployment, we add a new PowerApp to your use of Dynamics that gives an initial tour of DocDrive – the Email will contain a link to open this App and start evaluating your new Integration from SharePoint to Dynamics.

That’s it, all done – as next steps, we have a number of guides and videos on how to start reviewing or using DocDrive , which we can start here with our Day 1 Guide on Accounts and Folders.

Share this Article

Search Articles

Filter Articles

CRM Tech DocMan

Recent Articles

Calling a Power Platform AI Builder Model via oData How to use DocDrive365 to integrate permissions between Business Units in Dynamics with Sites in SharePoint Getting started with the Power Platform AI Builder. Power Apps Portal Information Hub DocDrive365 Security: Day One - Getting Started with Dynamics to SharePoint Permissions Part 5 - Power Apps Portals: How To Connect Azure B2C With Linked-In Part 4 – Power Apps Portals: Styling Azure B2C for Power Apps Portals The 3 Phases for Using Multi-Select Option Sets in Flow with Microsoft Forms Part 3 – PowerApps Portals: Azure B2C and Power Apps Portals – User Flow for Signup and Signin Part 2 - Power Apps Portals: New Application Registration in Azure B2C for our Power Apps Portal Part 1 – Power Apps Portals: Creating a New Azure AD B2C Tenant The Automation Bot: Launching Contextual Flow from Teams Creating a New Bot for Teams Debugging your Teams Bot using Ngrok Adding a Microsoft Teams URL to a Dynamics Appointment Using Power Automate to Create a New Channel for a Record in Dynamics Connecting your Docusign Account with DocDrive365 for eSignature in PowerApps Showing or Hiding a SharePoint Metadata Column within Dynamics Running a Quick, Quick Campaign from Dynamics Dynamics for Sales: Use Word Templates to Export directly to PDF Newly Generated Documents in Dynamics or Power Apps do not save into SharePoint Synchronising Dynamics / Power Apps Security with SharePoint Adding the DocDrive Bot to each new Microsoft Team Microsoft Team for each Key Account using Conditional Rules in DocDrive365 Azure B2C–the Subscription is not Registered
Contact Us

Want expert advice or a demo?

Get in touch now and see how we can help your business grow.

  • Name
  • Email Address
  • Phone Number
 
Close

Understanding Your Challenges

Our strong understanding of CRM and emerging technologies within the Microsoft environment means we deliver the right solutions for you.

Proven Real-World Solutions

As a leader in the field of Dynamics solutions, our pedigree developing and delivering real-world solutions is unsurpassed.

Long Term Support

We provide support beyond our design, implementation and 'go-live' delivery using Sprints and continual updates to our AppSource apps.

CRMCS | Design by Thinktank Marketing | Citrus-Lime Limited

To improve your experience today and in the future, this site uses cookies. Read our full Privacy Policy & Cookie information here I Understand