Tip #1416: Power Platform PowerShell module includes unapproved verbs

tl;dr No, Power Platform team didn’t sneak in any profanities into PowerShell module. It’s caused by the verb Apply, is by design, and can be safely ignored. Longer version I usually oblivious to any warnings produced by the command line tools. My attention is fully reserved for the word FATAL in Ferrari red (#ff2800 if […]

Tip #1411: Power Apps portal vulnerability checks using PowerShell

I’ve created couple scripts that quickly check if your Power Apps portal has a potential vulnerability in the portals I look after. OData Endpoint Probe This one is quite trivial and simply probes the OData endpoints exposed by the portal. Takes portal url as a parameter and lists all OData endpoints. Endpoint is marked as […]

Tip #1268: Restrict CDS instance creation

person holding click pen and a bursh with hands and table all covered in splashes of colorful paint

With P2 licensing, can you control who can spin up a CDS instance via Azure Active Directory since each license comes with 2 CDS instances? (we don’t want hundreds of CDS instances cluttering up our tenant) The question from an enterprise business size UG member, generously relayed to us by Jerry “Forever Tipster” Weinstock Via […]

Tip #828: Quickly migrate existing CRM Online licenses to Dynamics 365 licenses using PowerShell

Flying geese

I was not aware that Gayan “Performance Wizard” Perera shares my affection for PowerShell. Until this quick tip on how to bulk migrate CRM Online licenses to Dynamics 365 licenses using PowerShell. Comes in handy when you have to assign the new D365 licenses to hundreds or thousands of users.

Tip #549: Cannot convert A into A

If you were playing with the uber-administrator’s way to create non-intractive users then you might have seen the following error: Cannot process argument transformation on parameter ‘conn’. Cannot convert the “Microsoft.Xrm.Tooling.Connector.CrmServiceClient” value of type “Microsoft.Xrm.Tooling.Connector.CrmServiceClient” to type “Microsoft.Xrm.Tooling.Connector.CrmServiceClient”. Ugh? Say again? Cannot convert “A” to “A”? The other possible error gives away a bit more: […]

Tip #467: Bulk unblock the XRM Toolbox

If you have ever downloaded the fantastic XRM Toolbox, you will know that the .dll files need to be unblocked before you can use the application. Donna Edwards referred me to a PowerShell command suggested by Andre Margono that will bulk unblock all the files in the XRM Toolbox folder. The syntax goes like this: […]

Tip #386: The fastest way to provision new organization

For people who complain that they provision CRM organizations daily, hourly, weekly and cannot relax for 5 minutes while new organization is being created, here the quickest way to provision new CRM on-premises organizations: One-off preparations Go through the pain one last time and watch the paint dry while creating a new organization (name it, […]

Tip #159: PowerShell fails in IFD deployment

Microsoft Dynamics CRM Windows PowerShell snap-in is an excellent automation tool but on some Internet Facing Deployments even an innocuous call to Get-CrmServer can fail with a fairly generic message “The caller was not authenticated by the service“. One of the possible reasons is that the tool always runs on CRM server but for IFD […]