Fixing PAC CLI “non-recoverable error” in GCC High and DoD by enabling telemetry
If you use the Power Platform CLI (PAC CLI) in GCC High or DoD environments, you may run into a sudden crash that looks like this:
category
If you use the Power Platform CLI (PAC CLI) in GCC High or DoD environments, you may run into a sudden crash that looks like this:
The goal of this setup is to allow an Azure DevOps pipeline running in the Commercial cloud to move files (e.g., build artifacts, documentation, or deployment packages) into a Storage Account in GCC…
I’m using managed identity to let a Dataverse plug-in call Azure resources without storing secrets. One of those calls hits a Logic App (Consumption) via the When an HTTP request is received trigger.
When working with Azure Data Factory (ADF) and the Dataverse connector, passing the pipeline trigger time into a Data Flow can be trickier than expected.
Recently I was working on data where I needed to pick one best row per group, then merge that result with a lookup table.
To quickly see which Data Loss Prevention (DLP) policies are applied to a specific Power Platform environment, you can use a direct URL. This article shows you how to:
This tutorial delves into integrating PowerApps Component Framework (PCF) controls with host form data within Microsoft Power Platform’s model-driven apps.
While recently walking a colleague through Power Automate, I was reminded of one of my long-standing frustrations: how difficult it is to copy expressions once they’ve been inserted into actions like…
Azure Data Factory (ADF) provides versatile ways to connect and interact with Dataverse. Understanding the connection options and configurations is crucial for securely and efficiently managing your…
When managing Azure Storage Accounts, it’s essential to control access by restricting allowed IP addresses.
Today’s digital landscape offers unprecedented opportunities to leverage technology in the service of public safety.
Model-driven apps in Power Apps allow users to create dashboards that display key data from different entities. By default, dashboards do not provide an easy way to display Notes (Annotations).
Web templates in Power Pages offer a powerful way to create reusable components that can be used across multiple pages, headers, and footers.
First and foremost, I want to take a moment to acknowledge Brandon Pires, who originally crafted the script that inspired all of this work.
When a user opens a Power App for the first time, they are often presented with a consent form asking for permission to access data sources or APIs used by the app.
In many scenarios, businesses require custom auto-numbering for records in Microsoft Dataverse that go beyond the default functionality provided.
When working with the paconn CLI tool to create and manage custom connectors in the Power Platform, it’s essential to configure your environment settings properly, especially when targeting different…
Integrating APIs into Power Automate flows often requires creating custom connectors, a process that can encounter challenges with certain API specifications.
Managing IT environments with limited or no internet access, such as firewalled systems or air-gapped setups, presents unique challenges.
In today’s fast-paced development environments, seamless integration between customer and development tracking systems can be crucial for maintaining transparency, efficiency, and alignment across…
In the evolving world of smart home technology, the integration of lighting solutions with sophisticated automation platforms is gaining significant traction.
In the realms of digital infrastructure management, automation emerges as a pivotal ally, especially when confronting repetitive and time-sensitive tasks.
The article discusses integrating Government APIs with Microsoft Power Platform, emphasizing the creation and certification of custom connectors.
When managing extensive user datasets from Microsoft Graph API, a common challenge is handling the pagination of data.
Navigating travel expenses in the public sector can be intricate, especially when it comes to adhering to per diem rates.
Navigating the complexities of dataflows in Microsoft’s Power Platform, especially when dealing with Dataverse, can present unique challenges.
Have you ever wanted to fill in a Docx template within a Canvas App? Look no further! I’m excited to introduce a new PCF component that allows you to do just that.
Hey Power Pages developers! Are you sitting there scratching your head wondering why the Authentication/LoginTrackingEanbled site setting isn’t working? Unfortunately it has been deprecated 😭😭😭😭.
Power Automate Desktop is a great way to automate many of your daily task so you can focus on real work.
It is recommended that you no longer use Local Login authentication for Power Apps Portal but instead utilize Azure Active Directory B2C to provide this type of authentication.
After watching the RPA (Robotic Process Automation) demo from Steve Winward Real-Life Use case using AI Builder Form Processing with Power Automate Desktop I have been looking for ways to utilize…
Want to know which model applications your users have access to in Dataverse? Check out the app access checker that is available within the Power Platform admin center.
Dataverse allows you to easily generate your Word Templates as PDF files. Last year they expanded the functionality beyone just the out of the box sales entities to all custom entities.
When generating links for records, lists or reports in a Dataverse environment it is important that they open the specific application they relate to so users have the best experience.
When utilizing scopes within Power Automate to create a try/catch/finally statement it can be useful to provide additional details about any errors that occurred within the try block.
Connecting to Dataverse using PowerShell can be very helpful for data migrations and use within Azure DevOps. Connecting to an instance in a non-interactive way can be tricky though.
I recently had the opportunity to utilize the new Custom API functionality within Dataverse. I had previously used Custom Process Actions and was a little confused as to the difference and why i…
If you have custom applications built on Dynamics/Dataverse within the US Government Community Cloud (GCC) and only have Team user license that were purchased after October 2018 your apps screen may…
There are many tools you can utilize to develop Power Automate custom connectors including Postman and Swagger Inspector.
So you have a lot of data to display but the screen in Power Apps isn’t large enough. My friend Ronald Sease recently showed me how to create a gallery in Power Apps that you can scroll horizontally.
For those working in the U.S. Government or DoD/Military space needing the Power Apps mobile application on your phone, an additional step of selecting a region must be taken before you attempt to…
I am current building PCF component that required me to determine if the user has specific rights to an entity before attempting to modify it.
Anyone who has configured the PowerApps/Adx Portal before can tell you how complicated the security mechanisms can be to configure. It’s both easy to give users to much permission or not enough.
This image component allows you to rotate an image to any degree unlike the Canvas image component which only allows 90, 180, or 270 degrees.
Canvas PowerApps provide a great amount of functionality with little or no code. Many examples demonstrate how to open a Canvas App within a Model App on a specific record and pass the context of…
While working on creating a page to open a Canvas app full screen inside of a Model app I wanted to create a WebResource I could use over and over again.
The usage of Xrm.Page is currently deprecated, still available due to it’s high usage, but still deprecated. When will it go away, we don’t really know yet.
If you would like to make updates to the Xrm types or any others in the DefinitelyTyped project on github you can find that cloning all the types can be a real pain.
Multilingual support has been added to the Calendar component I recently shared. This works in both Canvas and Model apps.
PCF Code Components allow developers to create their own custom interfaces utilizing Typescript and/or React. To learn more about the PCF Component Framework check out this article.
This calendar control was built off of React Big Calendar. The calendar can be used to display events with or without related resources.
This PCF control allows you to display information for a view that contains latitude and longitude information within Bing Maps.
When working with npm libraries there are times you find bugs or want to add functionality to a library.
This PCF control allows you to display information for a view that contains latitude and longitude information within Azure Maps.
Allows you to simulate the out of the box Grid and Subgrid controls using the Office-UI-Fabric DetailsList control. It was built to provide a springboard when you need a customizable grid experience.
When working in an environment where tools like XrmToolbox are not available or allowed getting a total record count can be a real pain sometimes.
If you need to get the LogicalName or ObjectTypeCode of an entity in your Dynamics environment you can utilize the WebAPI to get the metadata.
For anyone looking for a PCF Color Picker I just released one out on GitHub! It utilizes React and the Office UI Fabric controls.
If you are utilizing the UCI interface there is a new JavaScript handler available for the Business Process Flows (BPF), onPreStageChange.
Below are resources that you can utilize within your Dynamics project for generating icons.
In the web client version of Dynamics when you hovered over a rollup field it would show a refresh icon to the right of the field.
While working on a demo of the Business Cards Scanner component for PowerApps I found that the component only returns the address as a single line and not as parsed address components (UPDATE: The…
When working through App In A Day Workshop I wanted to improve the Approval flow to move the Business Process Flow (BPF) Stage forward if the Device Order was Approved.
When sending emails or approvals in flow it can be helpful to also include a link to the record which is being referenced.
When building canvas apps the naming conventions used by the objects can be very confusing once you have added a few screens.
I recently saw the article on how to validate solutions using the PowerApps Solution Checker and wanted to share the link.
Recently a colleague of mine was having issues with low drive space on one of our servers. Because this is a clients system i am unable to copy over WinDirStat which is what i would usually use to…
Recently while building a system which synchronized Dynamics permissions to SharePoint we came upon an error which caused the SharePoint Document grid to tell us that we did not have the correct…
After setting up Server based authentication between SharePoint and Dynamics on several instances we were having issues on certain instances where users would attempt to access the Document grid…
While coming up with deployment scripts i was tasked to ensure that the Dynamics Global Search had specific entities selected.
Recently while working on a project where the customer was utilizing the Case entity they wanted to only allow users to enter contacts into the Customer Id field.
In order to move Duplicate Detection Rules to another system utilizing the CRM Configuration Migration tool make sure to add the Duplicate Detection Rule and Duplicate Rule Condition entities to the…
This will allow you to navigate to the Documents Associated Grid view form a button in the main records ribbon. This currently works for Dynamics 9.0 and 9.1 Online.
Recently I was looking for a way to add the SharePoint Documents Associated grid as an IFrame on a Dynamics form. Jason Lattimer's blog had the answer:
Recently started using Git with VSTS and wanted to connect it up to Sourcetree. This article by Adam Prescott helped me out. You can view the article here:
Microsoft is no longer providing the entire SDK and samples as a download. Instead they are hosting the samples on a their website and providing the sdk and tools on nuget.
To find empty methods in Visual Studio search using the following regular expression.
Most of the time i use late bound but there are times when early bound makes things easier. I needed to limit the size of the file so filtering down on just the entities i use was needed.
This can be useful if you start working on the wrong branch and need to move your uncommitted code to the correct branch.
This script will find custom Parental or Cascading Relationship between entities in CRM. This script was used to determine if someone had changed a relationship on a target system and if that change…
I don't do custom SSRS to often but when I do I consonantly have issues pre-filtering FetchXML in SSRS reports.
To open the Data View pane for an SSRS report do the following.
During recent CRM upgrades I started getting the following error on publish.
For those times when you are trying to figure out a plugin depth issue and you want to quickly copy/past into your watch window.
I had a Web Resource page which needed to refresh a jqgrid on it after some fields on a CRM form were updated and record was saved.
In order to import a 2011 solution into 2015 you must first import it into 2013 then re-export from there.
With TMG going the way of the dodo Microsoft has moved much of it's functionality into Server 2012R2.
In a search to easily export a list of changeset details into a CSV file I found this awesome utility.
Run CMD as Administrator- WEVTUTIL sl "AD FS Tracing/Debug" /l:5- Open the file “C:/Windows/ADFS/Microsoft.IdentityServer.Servicehost.exe.config”- Find the following sections shown in the image…
After you have completed your testing delete the LogLevel key reboot the server to ensure you stop logging.
When working on a system with no internet access it is important to ensure that CRL checking is disabled. If not disabled you will always receive a 403.13 error after entering you pin.
Update Rollup 17 for CRM 2011 creates new indexes for database tables when installed. Because of this the install can take several hours.
Recently I have been working with two plugins in my web pages. DirtyForm, which allows you to detect when changes have been made to fields, and JQueryUI which has a very flexible popup calendar for…
When debugging an app which connected to CRM using IFD connection I kept getting the following in the trace log.
While attempting to load a .Net 4 website I kept getting a configuration error and the following item in the Event Log
When attempting to add a reference to a project this error kept appearing.
Trying to pass the list of selected items from a grid using query parameters has limitations due to restrictions on the size of a URL.
You can utilize this code in an Expression to find the Date of Birth.
Below is an unsupported method for increasing the number of records in each page of a view. This setting is individual to each users.
A long time ago I wrote a SharePoint administration page and had used the "Microsoft.SharePoint.Portal.WebControls" dll to create Ok and Cancel buttons at the bottom of the page.
If you are having trouble getting the column headings to repeat on every page for a table/tablix in SSRS 2008 try this.
After generating a flat file in SSIS I needed to update that file with the column headers as the first row. In order to do this I used a SQL stored procedure.
You can use the commands below to create SQL commands which will drop tables/views. the were clause can be used to limit which tables/views are included in the statement.
This function will remove all non-alphanumeric characters.
This function will attempt to remove line breaks from text in SQL.
One of the biggest issues I have found with using authentication methods like Kerberos Constrained Delegation is that the first person who hits the site in the morning gets a 500 error until the…
This script will give you the times for CRM import jobs that have been run on your system.
SSIS can sometimes take a long time to load. Try messing witht he DefaultBufferMaxRows setting in the package.
The script below will change the default org for users. This can be helpful if you have disabled the original default org and users are now getting the crm error that the organization has been…
Disable Loopback check HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Lsa New DWORD Value: DisableLoopbackCheck = 1 (Decimal) CRM Settings HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/MSCRM New DWORD…
Here are two scripts I found that will help you generate basic info about your database. This data can be useful when beginning the level of effort for a data migration. NUMBER OF COLUMNS PER TABLE
Re-index your CRM Org database if you receive this error.
Recently I had to replace an expired certificate on my ADFS 2.0 machine. I followed the instruction on the TechNet wiki found here.
After uninstalling an update rollup and rebooting the machine CRM starting coming back with a 404 Page Not Found error when trying to access the site.
If you have upgraded a CRM database from 4.0. to 2011 you may have some leftover fields that end in dsc.
For the past few weeks something has been bothering me. I have been doing a lot of solution imports and also a lot of data imports.
In situation where you have multiple Claims Providers the HomeRealDiscovery.aspx page may confuse users.
If you work in an environment where you have no write access to the ‘Program Data’ folder in AD you can still install ADFS 2.0 but you will need to use the command prompt.
If you are going to place CRM 2011 Dashboards within an IFrame make sure your URL points to:
Location of CRM 2011 Setup Logs and Organization Import Logs.
ID4223: The SamlSecurityToken is rejected because the SamlAssertion.NotOnOrAfter condition is not satisfied. NotOnOrAfter: '02/28/2012 1:15:04 PM' Current time: '02/28/2012 2:18:35 PM'
Run CMD as Administrator- wevtutil sl "AD FS 2.0 Tracing/Debug" /l:5- Open Event Viewer.- To open Event Viewer, click Start, point to Programs, point to Administrative Tools, and then click Event…
With really long title on CRM ribbon buttons the text will fill the entire space before going to the next line. In order to for text to the next line you can use the Zero Width Space.
While developing an EnableRule for some new functionality I decided to use an Async call. Here is a great link on how to use Async calls with EnableRule.
In CRM 4.0 using the Target.GetPickListProperty("fieldname").name property would return the string value of the pick list item display name even in a PreCreate plugin step.
While attempting to deploy a solution to CRM 2011 I received the following error during the import.
When you define a CommandDefinition in the CRM 2011 and you want to use a CustomRule underneath an EnableRule just remember that your CustomRule will never fire if you have other EnableRules applied…
PROBLEM: Every time the application pool is reset the following error appears in the application log.
I needed to find a way to determine if a user did not exist in CRM or did not have any rights. The devError page is available in both CRM 4 and 2011 and returns the same errors.
When creating a web part which encapsulates a custom user control the following is one way to utilize the custom attributes for the web part within the user control.
I started getting this error every five minutes after the timer service would kick off.
While working on a CRM 2011 application I kept getting the following error even though I was not even using the CRM 4.0 SDK file.
foreach (EntityMetadata em in resp.EntityMetadata) { if (em.IsCustomEntity == true) { entRibReq.EntityName = em.LogicalName; if (em.IsIntersect == true) //check to see if the entity is a M2M…
When creating htm pages as webresources in 2011 there are many times you would want to get information about CRM such as the orgname and server url.
A great overview of what is new in CRM 2011
Tired of opening up a Visual Studio Solution and having to deal with collapsing all the project manually. Check out PowerCommands, it's free and offer these additional features.
When attempting to connect ADFS 2.0 and SharePoint 2007 most of the documentation assumes you are using the NetworkService account to run the application pools for the SharePoint content web…
The following is taken from the following KB article: <http://support.microsoft.com/kb/982813>. I have had to do this so many times though I found it easier to post it here :)
After installing ADFS 2.0 for SharePoint a Windows login prompt was shown when the SharePoint site forwarded to the ADFS server instead of the ADFS Forms Authentication login screen.
If you plan on using a SQL server 2005/2008 to host your ADFS 2.0 configuration database you must run the configuration using the command line.
Project Description: CRM 4 to CRM 2011 Javascript Converter helps convert scripts to the latest CRM 2011 Form scripting model.
Situation: Attempting to run the SharePoint Products and Technology Configuration Wizard on a server to add it into the farm. Our farm also has customized site and list definitions.
I was attempting to install the SharePoint dispose checker into my FxCop program using the rules dll found here, .
I was looking to create a schema file for a list I currently have in SharePoint. If you have done this before you can understand the pain.
After adding the SharePoint 2010 Chart Web Part to a page I received an error that the Server State Service had not been configured.
When I went to create my first site collection in SharePoint 2010 I was surprised to find there was no site template for the Collaboration Portal.
I have developed several workflow activities for use within SharePoint designer. Every time a SharePoint Designer workflow is opened a copy of the deployed DLL is downloaded into the WebSiteCache…
One of the smart guys I work with posted some information about debugging the W3WP process that I though I should share.
When Microsoft designed IIS 7 they decided to add in a new feature that automaticaly uses the LocalSystem account for Windows Authentication by the kernel.
I recently was settting up a new Microsoft SharePoint 2010 machine and had promoted the machine to a domain controller before creating my SharePoint admin accounts.
Users accessing SharePoint using a CAC card may experienced problems with saving and checking in Excel and PowerPoint documents on the SharePoint servers.
Problem: Accessing sharepoint using the FQDN while on the server.
Open a query window in the Microsoft SQL Server Management Studio and run the following command. It will display to you the current name of the SQL server.
One of the things I do when setting up a CRM 4.0 server is modify the Recovery settings of the Asynch process.
Bad Idea... Changing the password of the SharePoint service account used to set up and run everything SharePoint. If you have done this read the next paragraph before touching your keyboard again.
So here was my issue. I needed to copy some from one row in a table to another row. I tried using the SQL Server Managment Studio but it does not allow you to copy and past binary information.
Learned a very important lesson. If you don't set up a results repository database before running a load test in Visual Studio you won't be able to pull up your reports later.
While working on creating a SharePoint 2007 event handler I needed to get the login name for the creator of the document I was trying to update.
After creating a blog site I wanted to show a webpart that grouped the posts by month. To accomplish this I added a calculated field to my Posts list and used the following formula:
I was recently tasked with migrating a secondary site collection to a new SharePoint server and making it the primary site collection.
I recently downloaded the Bamboo Calendar Plus Web Part v2.5. I ran the setup file and installed both the Calendar Plus Web Part and the Bamboo License Manager v2.7. Here are the issues I ran into:
Check out this cool Rick Text Editor add-in that will allow you to embed html such as YouTube and Flash videos. Finally something on codeplex that works!
When creating demo environments for sales presenations I like to add a lot of test data to my systems and make it relevant to the custom to which I'm presenting.
I had just installed reporting services and the reporting services connector. Suddenly my CRM web client is only showing me a blue screen and will not go to the main page.
I had just re-isntalled CRM so that I could set it up as an IFD (Internet Facing Deployment) server. Also CRM is set up through an ISA firewall and using SSL.
A while back I had a customer who wished to use Excel Services to do some project reporting dashboards.
When trying to do multiple mail merges I many time get a pop-up error stating "Microsoft Dynamics CRM Mail Merge is already running". Here is how to fix it.
Many times user create aspx pages within SharePoint designer and then add web part zones to them so they can add data.
So you have CRM 4.0 and ISA server. You also want to use the IFD (Internet Facing Deployment) feature of CRM. Well here is what you need to know.
Here are some SSIS devlopment tips and tricks.