Having a tight schedule? Fear not!

Hei bloggen!

In our last post, we presented our provisioning engine. Sadly, you don’t always have your loyal servant Podric Payne at hand, or a computer for that matter. Luckely, house Coudborne has a solution for those who cannot wait to wage more war!

The PowerApp is pretty simple: it adds new items to a list. This action triggers a flow, which sends a http – request to the flow discussed in our previous blog post, which again provisions a group.

 

The old flow is updated to check for an email address in the payload, and sends an email to said adress with the relevant information.

 

 

 

House Cloudborne (first, second and third of the Andals).

Battleplan generator on steroids

Hei Bloggen 👋

Planning a war and putting the plan into action can be tedious work, and with the frequency it is happening in Westeros, a horrible amount of time is wasted on setting up new plans for war.
Adding to this, the old systems are not easy to grasp and are quite ugly looking.

Analog maps – ugh

Following up Podrick Payne: Digital Squire, we felt he should be able to help the various lords and ladies of Westeros with smoothing this process (for a reasonable coin 💰, obviously).

So, more specific, what could we do to help? Well, the new Groups functionality from Office 365 seems to be a good fit. Common email adress? Check!✅ Shared OneNote? Check!✅ Common interface with easy-to-grasp battle information? Probably! 🤔
If only we could provision an O365 Group Site with the relevant information!

Sadly, there is no out-of-the-box way to provision groups in a manner that allows us to apply all the cool group features that we want. So we needed to implement some self defined azure functions, that a flow could be able to trigger. The functions in particular that we need are:

  • Create Group
  • Get group team site url
  • Apply-PnPProvisioningTemplate

With these three functions, and some logic behind and in front, we should be able to let Podrick “The Digital Legend” Payne generate the groups the way we need.

So what do Podrick have to do to create a room using the flow? He just have to send the correct information signature with the nearest raven 🦆 (or http client, we don’t discriminate) to the correct address.

This will trigger the flow:

And voilà, your new superhot battleplan is born! 👼


Next up,
how do you know your enemy is not listening?

 

⚔️ HOUSE CLOUDBORNE ⚔️

 

Pro tip for triggering Microsoft Flow’s from code

As the trigger action pick an HTTP Request action.

image

 

Then head over to http://jsonschema.net/#/ to generate the swagger JSON schema needed. Just enter your JSON object, any way you want, click generate schema, and copy paste the output into the Flow action.

image

Your object properties are now available to use in a new action, as the one picture below where we create a new CRM record.

image

 

Once you save your Flow, you can copy the endpoint URL and do a POST with your JSON object to that andpoint and you’re ready to roll Smile