Introduction Have you tried to limit the number of rows you want to return from related tables in Dataverse using Power Automate? Like using the top parameter to get the number of rows you want in FetchXML or directly in the dataverse action, this works fine. Let’s say, you want to get the three latest …
This post show how you can extract documents from Dynamics 365 to SharePoint. Reasons behind the flow: Issue with storage space in Dataverse. Storage in Dataverse costs money Remove third party applications like Attachment Extractor from MSCRM.ADDONS Prerequisites A SharePoint site is created and accessible to the organization is required If you use standard SharePoint …
Took the Microsoft PL-900 Power Platform Fundamentals exam some time ago and took some notes during the study and thought I share how I studied for the exam. The way I like to learn is to see video lections, examples and hands on practice. So what I did first was to read through the Microsoft …
This post shows an example of how you can check if a date is less than or more than a specific date or within a time period. A sample use case can be for instance a to check if a case must be followed up in between a time period, a start and end date. …
Faced an error regarding special characters while creating a new document location in Dynamics 365 CE with Power Automate Flow. To get some context; the reason behind the flow is to extract attachments related to notes and email from Dataverse and store them in SharePoint to save space in Dataverse. The error occurred when I …
Created a script for counting the days until a set date in the future. To see how many days is left to reach a goal or just to find out how many days there is before Christmas. Just for fun.
Short post today about how you can get, add and remove bindings with PowerShell on Windows Server running IIS (Internet Information Server). I find it more effective to add bindings through PowerShell rather than clicking through the user interface, especially if a website contains a lot of bindings and you have to scroll and look through the list manually to find the binding you want to delete.
Need to exclude files from your Web App Backup? Then you can use a file called _backup.filter and add it to the D:homesitewwwroot folder of your app. In this file you specify the files and folders you want to exclude. Further in this post I show you how to add this file to a Web App using PowerShell.
A couple of nights a go I suddenly got the urge to write the “FizzBuzz” challenge with PowerShell. As I sat there I came up with four different ways to solve it, even tough three of them is quite similar.
Played around with role-based access control this weekend while learning more about Azure and the cloud. Thought I make a short post about the experimentation and some of the learnings a long the way.
Role-based access control (RBAC) facilitates Microsoft Azure delegated resource administration. It helps you manage who has access to Azure resources.
How to enable “Disk encryption should be applied on virtual machines” recommendation from Azure Security Center.
Azure policies ensures proper cloud governance by controlling resource deployment, usage and enforcing standards in your Azure Environment.
Tips and practices for writing better PowerShell scripts, like parameterization, advanced functions, shortcuts, cmdlets and more.
A brief explanation of the concept of tags in Azure, and a few scripts for managing tags. In this post I’m not focusing on how to manage tags manually in the Azure Portal, rather a possible way to manage tags with Azure PowerShell.
Infrastructure as Code (IaC) can be described with the following: IaC defines your environments, to include network, servers, storage and other computer resources as a text file, this can be in a form of a script or definition, which is checked into version control and used as the base source for creating or updating environments.
Good evening, though I should share some of my Visual Studio Extensions I use for PowerShell development in Visual Studio Code. This post will probably be updated when I find new cool and useful extensions. You probably have a few yourself?
A step-by-step approach from idea to the actions to take create a complete functioning PowerShell script.
The Resolve-DnsName cmdlet is a powerful network administration tool command-line tool in PowerShell, used for querying DNS to obtain domain names or IP addresses, mapping or for any other specific DNS Records
How you can use PowerShell to download invoice information from Azure subscriptions, so that you can verify your credit card bills
Tried out Azure Resource Management templates this evening, to learn more about the “Infrastructure as Code” topic. A Resource Manager template is a JSON file that defines the resources to be deployed together through a declarative syntax. A templates can then be deployed via code. I started simple by creating a Resource Group in Azure first and then deployed a Storage Account with Azure PowerShell and an ARM template.
Tested out PowerShell Desired State Configuration this morning, in this post I”m going step-by-step through my first script using “PowerShell Desired State Configuration (DSC)”. The project I created is a simple website to the Default website in my lab environment, running the Microsoft Internet information Services (IIS) Server.
Good evening, messed around on the computer the other day, ended up with creating a PowerShell script prompting you to create files and directories.
The other day I needed to lookup a lot of domains regarding changes to DNS. The list was long and contained plenty of IDN (International Domain Name) which contains special characters such as “æøå”. I used the command Resolve-DnsName, and for this to work one must use the ACE-encoded version of the domain to make it resolve. So, this ended with two small scripts that converts domains such as “krøllalfa.no” to “xn—krllalfa-64a.no” and “xn—krllalfa-64a.no” to “krøllalfa.no”
Played around with Python and TravisCI on a cabin trip this weekend, learning more about Continuous Integration, automatic builds and testing of code each time a change is committed to version control.
Find yourself repeatedly manually accessing often used folders by using cd and tab completion? For instance when you open a new console and have to access a file or folder like the “repo” folder or the “hosts” file. Instead of typing the path each time. I found that creating simple aliases for paths I often use spares a lot of punching.