Troubleshooting Issues Logging into USD

In Unified Service Desk, you may have issues logging into the USD client and connecting to the server. There are some reasons this may happen that we will look at. Account or Password Issue The first reason may be an account or password issue. Confirm your username and password are correct by logging into Dynamics 365 through a URL (non-USD). User Permissions Confirm you have sufficient permissions to access USD and … Continue reading Troubleshooting Issues Logging into USD

Unified Service Desk – Client Folders

After installing the Unified Service Desk client, there are several folders in the system. AppData\Roaming\Microsoft\USD This directory holds the USD configuration information for the client. The Default_USD.config file looks something like the following: The tokens.dat file looks something like: You may also see files looking like: ID_USDUSRProfile_1234.usdPrf If you run into issues logging in, you may want to rename this directory. It will be recreated on login. AppData\Roaming\Microsoft\Microsoft Dynamics® 365 … Continue reading Unified Service Desk – Client Folders

Power BI and Dynamics 365 Data Security

In this post we will discuss how Dynamics 365 and Power BI deals with data security. For example, you may have Dynamics 365 salespeople that are allowed to see their own data, but not other salespeople’s data. We will look at an example of how Power BI deals with this. We have 2 users – Alan and Christa. Both users are assigned the Salesperson role. With this role, they can … Continue reading Power BI and Dynamics 365 Data Security

USD – LookupQueueItem and WorkOn Actions

In Unified Service Desk, there are some actions that assist with queues. The first is LookupQueueItem. Let’s say we have a case that is part of the queue “Support”: As part of USD, we can call an action to get the Id of the queue item. To do this, pass the following parameters to LookupQueueItem: Id=FDA93807-4EF3-E711-80F2-3863BB2E34E8 EntityType=case After running this, the CRM Global Manager#queueitem is created, with the Id of … Continue reading USD – LookupQueueItem and WorkOn Actions

USD – CreateEntity, DeleteEntity, UpdateEntity Actions

In Unified Service Desk, there is an action to create an entity record and delete an entity record. For example, we have an Account hosted control that opens when in a session: Let’s say we want to create a new contact for this account. To do this, we will use the debugger, though we can also call this as an action. Select CreateEntity as the action, and then: LogicalName=contact firstname=David … Continue reading USD – CreateEntity, DeleteEntity, UpdateEntity Actions

USD – CloseActive Action

In Unified Service Desk, CloseActive closes the active hosted control in the tab specified. For example, if we have a tab contact open in the LeftPanelFill, we can call CloseActive to close the active hosted control in the LeftPanelFill:  

Simple JavaScript Called OnLoad HTML Example

To call a JavaScript function when an HTML page loads, use the code below: [sourcecode language=”JavaScript”] <!DOCTYPE html> <html> <head> <script> function HelloWorld() { document.write("Hello World"); } </script> </head> <body onload="HelloWorld()"> </body> </html> [/sourcecode] This displays: And if using a DIV:   [sourcecode language=”JavaScript”] <!DOCTYPE html> <html> <head> <script> function HelloWorld() { document.getElementById("MyDiv").innerHTML = "Hello World!"; } </script> </head> <body onload="HelloWorld()"> <div id="MyDiv"></div> </body> </html> [/sourcecode] Which Displays:  

Unified Service Desk Entities and Names

Below is a list of Unified Service Desk entities and lookups, if you need to find them in Advanced Find or migrate the data to other environments: msdyusd_answer – Agent Script Answer msdyusd_task – Agent Script Task msdyusd_agentscriptaction – Action Call msdyusd_agentscripttaskcategory – Agent Script Task Category msdyusd_configuration – Configuration msdyusd_customizationfiles – Customization File msdyusd_search – CTI Search msdyusd_entitysearch – Entity Search msdyusd_uiievent – Event msdyusd_entityassignment – Entity Type msdyusd_form … Continue reading Unified Service Desk Entities and Names

Console App to Interact with Azure Blobs

Azure blobs can be interacted with through Visual Studio. Here we will go through an example of interacting with a blob in a C# console app. First, create a new console app: This will create: We will add 2 NuGet packages: WindowsAzure.Storage Microsoft.WindowsAzure.Configuration Manager And: In the app.settings, add the key below, with the value of your storage account: <appSettings> <add key=”StorageConnectionString” value=”yourconnection” /> </appSettings> To get the value, go … Continue reading Console App to Interact with Azure Blobs

Creating an Azure Storage Account

Azure Storage Accounts are unique namespaces where you can store different forms of Azure data. There are 2 different types of storage accounts: General-purpose storage accounts. These include Tables, Queues, Files, Blobs, virtual machine disks. Blob storage accounts. This is specific to Blob storage. Blob storage exposes the Access Tier: Hot access tier, where the blob objects are frequently accessed, and data access is cheaper Cool access tier, where blob … Continue reading Creating an Azure Storage Account