Logo Barret Codes
  • Home
  • About
  • Engage With Me
  • Recent Posts
  • Posts
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Posts
  • Community
  • Conferences
  • Development
  • Life
  • Podcasts
  • Soft Skills
hero image
From the Archives - Re-posting Old Blog Posts

Photo by Lara Jameson from Pexels Once you’ve built up some content, one of the ways to keep your social media presence more active is to re-share your older blog posts. For long time followers, it can remind them of previous content. And it can help bring in new followers who didn’t see that content previously. If you’ve got a blog with an RSS feed that includes all of your content, then picking one at random to re-share is easy to accomplish with Power Automate.

  • content
  • flow
  • power-automate
Wednesday, November 24, 2021 | 3 minutes Read
hero image
Creating a Custom Connector - Part II

Photo by Daria Shevtsova from Pexels In part I of this post, I demonstrated how to create a custom connector. Now, we’ll follow up with a short post on how to use that custom connector in a flow. Creating Our Flow We’ll start by creating a scheduled flow. We’ll run our flow at 9AM Eastern every day. custom-connector-ii-recurrence

  • connectors
  • flow
  • power-automate
Sunday, November 21, 2021 | 2 minutes Read
hero image
Creating a Custom Connector - Part I

Photo by Daria Shevtsova from Pexels (NOTE: Posting to Twitter no longer works. Check my YouTube channel for videos on posting to Bluesky and Mastadon) For those with the higher tier licenses, along with being able to use the premium connectors, you also have the ability to create your own custom connectors that you can use to connect to just about any API on the web. For our fun project this time, we’re going to take the next two blog posts to create a custom connector that makes use of the NASA public APIs in order to grab the Astronomy Picture of the Day (APOD) and then we will create a flow that runs daily to post that day’s picture in a tweet to our Twitter feed.

  • connectors
  • flow
  • power-automate
Thursday, November 18, 2021 | 7 minutes Read
hero image
AI Builder: Training an Object Recognition Model

Last time we looked at identifying information on an invoice. Another feature AI Builder in Power Automate offers is the ability to recognize objects in an image. This time we’re going to look at how to set up AI Builder to identify dice. It should be noted that AI Builder is a paid add-on to Power Automate and does incur an extra cost to use. However, a free trial is available. See the Microsoft Power Automate site for more info. Getting Started Invoice processing required that you gather at least 6 samples of each invoice that you wanted to train the model for. Object identification requires quite a bit more. For training, you will need a minimum of 15 images for each object that you want to identify, plus additional images for testing. Ideally, however you will want at least 50 images of each object.

  • ai-builder
  • flow
  • object-recognition
  • power-automate
  • summit-na
Monday, November 15, 2021 | 7 minutes Read
hero image
New Blog, New Style

I’ve gotten completely fed up with the hassle of trying to get GatsbyJS to work on Windows Subsytem for Linux (WSL). It just doesn’t work and I’ve wasted so many hours just trying to get a site to build. I had initially changed my site to use Jekyll, but saw people referring to Hugo on Twitter. And Hugo will run natively in Windows. So I spent the last two days redoing my blog with Hugo. AND IT WORKS. The only time investment was picking a theme (which really does take a long time) and fixing some headers and references in my blog posts Markdown files to work in Hugo.

  • website
Monday, November 8, 2021 | 1 minute Read
hero image
AI Builder: Training a Invoice Processing Model

One of the more complex features of Power Automate is the ability to train it to pull data out of scanned images of invoices and automatically import the information. I included a walkthrough of how to get started with this feature in my recent conference talk at Summit NA 2021, but I felt it would be beneficial to provide it in blog form as well. It should be noted that AI Builder is a paid add-on to Power Automate and does incur an extra cost to use. However, a free trial is available. See the Microsoft Power Automate site for more info. Getting Started The first thing you are going to need to get started is to gather at least 6 images of each format of invoice you intend to automate. You will need at least 5 images of each type to use to train the AI model to recognize where to find the data being sought from the invoice. The rest of the sample images will be used to test the model once it’s trained. If you’re looking for example invoices to use for learning purposes, the Microsoft AI Builder documentation includes 2 versions of invoices you can use for this purpose. Or you can use real invoices that you have around.

  • ai-builder
  • flow
  • power-automate
  • summit-na
Sunday, November 7, 2021 | 9 minutes Read
hero image
Community Summit 2021 Demos

Photo by Tara Winstead from Pexels I delivered two presentations at Community Summit NA 2021. As part of that, I provided a number of demos. Below you can find some of the flows I used in my presentation. None of them are all that complicated, but could be used as simple starter templates. Power Automate for Dynamics Users Posting a Blog Post to Twitter and LinkedIn This demonstrates how to watch an RSS feed for new blog posts and post messages to Twitter and LinkedIn with links to the post. (NOTE: Posting to Twitter no longer works. See my YouTube channel for updates for posting to BlueSky and Mastadon)

  • flow
  • power-automate
  • summit-na
Tuesday, November 2, 2021 | 2 minutes Read
hero image
Power Automate Desktop

Photo by Mateusz Dach from Pexels This time round I’m going to delve into Power Automate Desktop (PAD). PAD is a service that allows you to perform activities on a local machine as part of a flow. It’s a service that used to require an extra subscription cost, but it’s now available to everyone included with whatever tier of Power Automate you currently have. What Can You Do With PAD? So the big question is what can you do with Power Automate Desktop? And the answer is, quite a bit. Among the things you can do:

  • desktop
  • flow
  • power-automate
  • rpa
Sunday, May 23, 2021 | 7 minutes Read
hero image
Using Power Automate to Start, Stop and Restart Azure App Service

Photo by Linda Eller-Shein from Pexels There are any number of reasons why you might want to start or stop your Azure App Service based on other factors. And while there are a number of ways to accomplish this, this time we’re going to cover how to do it in Power Automate with the press of a single button. Whether you want to start, stop or restart you app service, the flow works exactly the same way. As always, we start with a trigger. This time we’re going to use a button trigger so that we can restart our app service at the press of a single button. In Power Automate, create a new instant cloud flow. Give your flow a name and then select “Manually trigger a flow”.

  • azure-app-service
  • flow
  • power-automate
  • triggers
Sunday, May 16, 2021 | 2 minutes Read
hero image
More Securely Access an HTTP Request Trigger

Photo by PhotoMIX Company from Pexels In a previous post, we learned how to trigger a Power Automate flow by calling an HTTP endpoint. The best part of this trigger is that it allows you to trigger your flow from anywhere on the internet, be it an application or right in your browser. The trouble is, there isn’t security for that endpoint “out of the box”. Anyone who knows the endpoint’s URI can call it. So how do you secure that endpoint so that only someone who is authorized to call the endpoint can get it to run?

  • flow
  • power-automate
  • triggers
Thursday, May 6, 2021 | 7 minutes Read
hero image
Using an HTTP Request Trigger

Request by Nick Youngson CC BY-SA 3.0 Alpha Stock Images This time around we’re going to talk about the HTTP request trigger. This is one of the automated category of triggers that allows you to trigger a flow to run from an HTTP request. This flow is really handy if you have some data you can put into a JSON schema that you want to process in some way. One example from the templates list is passing in data to the flow to use to create a user in Azure Active Directory.

  • flow
  • power-automate
  • triggers
Friday, April 30, 2021 | 3 minutes Read
hero image
C# Advent 2020 - ASP.NET Core API Endpoints

MVC is a mess. Controllers in one folder, views in another, services in another, models and viewmodels in yet other folders. Related files are all over the place. Trying to piece together these related pieces can be a real pain. Steve “ardalis” Smith has come up with another way: ASP.NET Core API Endpoints. The concept is a simple one. Everything that’s related can easily be put in one folder, maybe even in one file. Steve explains much better: “Instead of Model-View-Controller (MVC) the pattern becomes Request-EndPoint-Response (REPR). The REPR (reaper) pattern is much simpler and groups everything that has to do with a particular API endpiont together.” By putting everything together, maintenance and development are all much easier. As Steve notes, this is a concept that the .NET team has done in creating Razor pages.

  • api
  • ardalis
  • asp-net-core
  • C#
  • c-advent
  • dotnet
Saturday, December 19, 2020 | 6 minutes Read
  • ««
  • «
  • 11
  • 12
  • 13
  • 14
  • 15
  • »
  • »»
Navigation
  • About
  • Engage With Me
  • Recent Posts
  • Posts
Contact me:
  • barretblake@live.com
  • barretb
  • Barret

Toha Theme Logo Toha
© 2024 Copyright Barret Blake.
Powered by Hugo Logo