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
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
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 #545: Create non-interactive user like a boss
I won’t name any names in this post. You know who you are. Actually a super-duper developer #1: One of the follow up questions I got from an attendee at Extreme CRM was around the complexity of setting up a non-interactive service account today. I have to agree with them it seems overly tedious if […]
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 #381: These tools give the shell its power
Since CRM 2013, SDK team has been including XRM tooling components in a low key fashion. It was kind of there but kind of was not getting any attention. Over the time though these tools have been slowly growing a reputation as one of the central building blocks in the SDK. Not surprisingly though, when […]
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 […]