Skip to content
Connection References episode artwork

Sep 28, 2020 23 min

Connection References

from CRM Audio

Microsoft released a public preview of Connection References, which store Power Automate (and some Power App) connections in solutions, and prompt for connection when the solution is moved to another environment. This is a big deal because currently connections are not moved with solutions, which means that Power Automate flows are not connected after the solution is moved, and editing flows in Production environments are tedious and cause problems with ALM processes. This change is also significant because it brings the value of solutions and ALM to non-CDS connected flows. Since Sharepoint, SQL, and custom connections can be automated using connnection references, deployment automation and CI/CD can now appply to connections other than CDS. Listen to today's podcast as George Doubinski, Joel Lindstrom, and Shawn Tabor discuss connection references. We also touch on environment variables and how these changes work with environment variables. And we celebrate Shawn "Hobbit" Tabor's 50th birthday!

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Connection References

0:00 23:44
of matches

Transcript Auto-generated, may contain errors

You're listening to CRM Audio, the Microsoft Power Platform and Business Applications podcast. This is Joel Lindstrom, and I'm joined today by Sean Tabor and George Dubinsky. Hello, gentlemen. Hello. And we're going to be talking today about a new feature that's just entered a preview called Connection References. It's exciting stuff, but before we do that, we have a milestone. Mr. Hobbit had his 50th birthday this week.

Welcome to your fifth decade. I guess, is this technically your sixth decade? No, no, no, no. You're not allowed to do that. You're allowed to say goodbye. I'm welcome here. Okay, yeah. I haven't got there yet. So yeah, you're allowed to say farewell. Sean, see you on the other side. I'm like, welcome, Sean. And then I bring the bad news. What do you expect? Well, you know, I spent my birthday going to the comic book store and playing Pokemon. So I don't really feel 50 yet, but I'm working on it.

Well, is that like a case of a curious case of Sean Tabor when you go backwards? Exactly, exactly. I'm going to be a small baby in a few years. Well, what world we're leaving where people get excited by connection references. Tell us more, Joel. Before we do that, though, I think, to me, it's like resetting expectations each time you have a major milestone. Like when you got to 30 and then you saw the top 20 millionaires under 30, you knew you didn't qualify for that anymore. So I still look forward to the fact that Colonel Sanders invented his famous chicken recipe in the 60s. So you got that going for you.

So connection references. I do have that going for me, yeah. Yes, if anybody's worked with Flows and Power Apps, Canvas apps, inside of solutions, you know it's better than it used to be, but it still has some major gaps. And the biggest gaps are the connections don't travel with the solutions. And so there's currently no way to reconnect your flow when you move it without going into the environment to which you imported it and connecting those connections, which is a problem. But hold on, hold on. There's a lot of things that don't travel.

with solutions. So why connections kind of suddenly super-duper important. It's because, number one, it's a huge pain to have to go in and manually touch, especially if you've been used to workflows and how they just automatically reconnect. But also, it messes up ALM because it creates something in the unmanaged layer, which, if you know about unmanaged solutions, can really mess you up when it comes to solution updates and things like that. So we have customers that have 50-plus flows, and it's a major pain point for them whenever they move something because you've got to remember to go do it afterwards, especially if you put your flows in solutions that have other things with them.

and you have an update to one piece of it and the flows need to be reconnected. That's where it's a problem. Have you ever lost the flow in the solution? It's like you put it in the solution and you forgot which one. And he's like, I did put it somewhere. Which one was that? Yeah, you just can't find that. I've seen some of those start showing up like in the My Flows and My Apps. Yeah, you can now see Show Me Flows inside the solution. But I think when it just came out, it wasn't there. The ability to see all the flows inside all the solutions. I think it wasn't there. And it's like if you've got like seven solutions,

Which one? I remember I put it in solution. George, I'm sure you run the Center of Excellence Starter Kit, and that maintains an inventory of all your flows, right? Are you asking me? Yeah. Anyway, so the other side is kind of like the cousin or sister or brother of connection references is environment variables. Another equally important thing where if you have, for example, references, let's say you have a flow that builds a URL and you need to have the string for the server, I mean, string for...

the URL base or something like that, environment variables let you store those pieces and dynamically reference them within flows and apps and other things like that. And they actually can work together too. For example, playing with connection references, say you're connecting to SharePoint for a document library. You need two things. You need the connection to the SharePoint and you also need which site to use. And so you can have the connection reference the...

which connection to use for SharePoint, but you also can then have the environment variable dynamically set that. Another thing you in the past have had to log in and change in the environment. And those have been around for a while, but they're now generally available. So people who haven't felt comfortable using them in preview can now use them as a supported component. One of the things about environment variables is that they keep Sean Tabor away from interrupting me. That's one thing. The second thing is people ask, what's so special about them? Because in hindsight, it's just an entity, right? So it's a couple entities. So one is defining the type of metadata for environment variable. This one is integer. This one is string. And so on.

entity actually has the values right so this is my uh sharepoint url and this is my email for approvals because nothing worse than sending approval emails to your customers in from sandbox environment right um So one of the things is that with the environment variables, and that's how they're different, is that you access them as you would any other values. But the way you set them up, that's different. Because unlike any other values, when you deploy it during the ALM, you can set them up depending on where you deploy. You can say, in test environment, CEO of the company is Sean Tabor, and he's got authority to approve everything. But that's only in Sandbox. So when you deploy to the real one, you put the real one in there. That's my reading. You guys stunned.

My thought is with both of these variables, the concerns that I get is like on the project I'm currently on, the Joel reference, this was compounded. The lack of these capabilities were compounded by us also embracing managed solutions and having multiple dev environments that are getting worse. Did you say bracing for managed solutions or embracing managed solutions? Embrace. But in most cases, we are bracing because while mostly it's been successful, it takes some time to make sure things are working correctly, right?

I think if that's where Microsoft wants us to go, they really have to make sure that these small-ish conceptually pieces of functionality are in place so that this is not something that we're constantly having to go back and try to find and fix and update because it takes all the benefit away, even if it's just a perceived lack of benefit to managed solutions. With the managed solutions and kind of success theory, you're saying we are mostly successful. To me, it's like crossing 100 yards across the highway. and getting hit on the last lane. You're crossing the last lane and you're getting hit. And it's like, damn, we were almost successful in crossing it. Right. No, no, I agree. I agree. And the reason why I framed it that way is because we're successful in the sense that the forward environments, you know, the customizations can't be modified and we can back them out. We can take advantage of all the things that managed solutions provide us. The difficulty is in the actual deployment, making sure everything's in the place where it's supposed to, making sure that the pipelines run the way they're supposed to.

It's just complex. Well, but that's the nature of life. It does get complex. To me, there are a couple of gaps. I don't know how you guys address them. One of the big gaps, and I hope it's going to close soon, is that there is no way to deploy secure artifacts.

Just to give you an idea, I don't want people who deploy solutions, or developers for that matter, to have access to secure artifacts in production. And the best example I could think of is that, for example, you have a payment processing system. Let's say you use Stripe or something like that. So you have your test keys. In production, you will have your production keys. You don't want your developers to have access to those production keys.

No, you want your deployment people have access to those keys. Those keys need to be managed by authorized people only and put into a secure place and kind of securely deployed. So the question is, how do you securely deploy this stuff? Because whoever deploys has visibility and access to those keys. That's something that needs to be kind of reserved. You can a little bit protect with something like Azure Vault and things like that, but you have to do it yourself for most parts. So I'd like to see what...

If I were to ask what's coming next, no one asked me, but anyway. Yeah, I think they had to do this first to lay the groundwork for that. And Sean, I hear you that that's been a major pain. And my hope is that this helps people who have avoided solutions and managed solutions see that a lot of those are gone. The biggest one, I think the headline here is solutions, they're not just for CDS anymore. Because if you have SharePoint or SQL Server or all those other things that, frankly, many Power Apps users use, there's been no value in using solutions because you had to...

You had to manually set everything up afterwards. Now you can have an automated process that moves all of your stuff and sets the connections up. Oh, and custom connectors are included too. Custom connector connections. That's been something we've been missing a long time. So this solves, I don't want to say it solves all the solution issues with Flow and Power Apps, but it takes a major step and answers most of the problems people see with using solutions with Power Apps and Flow specifically.

Then I'm with you, George, secure components, making it more friendly for ISV solutions for Flow and Canvas apps. Definitely something else that I'm sure that Microsoft is looking at. What I'm hopeful is with... With these other areas, potentially using solutions, it'll improve the solutions even more because the things that they need, you know, like you said, for SQL or for other non-CBS kind of technologies, the things they need could improve how we use solutions within CBS and Dynamics. So hopefully there's a give and take there. Right. And one thing to note, too, it's this more applies to Power Automate than Power Apps. Power Automate, this applies to every connection you have within your flows. Once this is enabled, they automatically become connection references. For Canvas apps,

There's a specific type of connections, primarily SQL Server, where it implicitly shares that connection when you share the app with someone. For example, if you reference a SQL table, it will implicitly share that with them. This only applies to those. This doesn't apply to the SharePoint or other things you might be using your Canvas apps yet. But I think that will be coming. And, you know, what this kind of calls out to me is the more this grows, it is still very much a citizen developer accessible technology.

But at the same time, as this more matures and matures, the need for that center of excellence or some sort of direction within a company is, to me, is becoming more and more important. I know what you built for our company has really helped a ton. And I can see smaller companies where you have a bunch of individual citizen developers doing things disorganized. Maybe they might be successful in their specific applications or their specific automations. But holistically, there's not a standard or process that they're following because you can do it in varying ways. Does that make sense? I think that makes sense. And I think the recurring thing I see is a company starts, they have it with their office licenses. They say, we're going to start simple. Hey, start using these tools. Or more often, users discover they have these things and just start using them to solve their problems. And this big mess occurs before people like IT wake up and then realize, oh, crap.

you know, things all over the place, who knows what they're connecting to. And, you know, sometimes things like governance, you know, he has people think, oh, that's enterprise, that's big company, but it's the small ones that I think are going to have the biggest problems because they're going to run into the most issues and have the biggest mess. And it's much harder for them to clean up. It's always better to have a strategy around what environments you have, what connections you have available, or at least knowing, monitoring what connections are being used so that you can keep some kind of, some kind of handle on it. So yeah, exactly. But yeah, then this, and then being aware of these tools because

Again, I also think there's a lot of people who will keep going and don't know about this stuff, and this can make their lives much, much better. Agreed. So check it out. There's an article on the blog. I saw Daniel Laskowitz already made a video about this, so there's already some content out there about it. I'll put a link to that here too. But yeah, it's a good thing. We had environment variables flow.

17 tips back or something like that. Yeah, we did. We did. But he did one specifically about the connection references. So I guess we've got to get working on about the connection references too. What I recommended to one of our projects was, hey, give this a try. Pick one of your lower priority flows and try it with that, maybe in a different environment, just for sure if that works. What I've found playing with it is if for some reason it doesn't work, it doesn't mess your flow up, meaning it doesn't change the underlying structure of the flow. It just changes how the connections are stored in the solution.

So I think it's fairly low risk and something that, well, you don't want to rush out and replace everything with a preview feature. This is one of those things where I would start thinking about, especially for new flows you're building, try them with connection references. And if they work for you, then you're saving yourself work down the road rather than building it the old way and then having more work to update. And we'll get you an update from my project on how things went on the next podcast. Great. If you don't get hit by a car in the last lane.

This is true. This is true. You're slower now, you know? Yeah, yeah, yeah. So keep that in mind. I definitely am. I lose weight. You can qualify for the early bird special now, too. Hey, look, if you lose weight, you have less energy. Remember that EMC square? True. On that note. The worst thing about turning 50, I'll just say this before we close, is you go to Dunkin' Donuts to get coffee and they automatically give you the senior discount. I didn't ask for that.

I'm not a senior. I don't understand that. Just enjoy the discount, will you? Just say, thank you. Stop going to... Yeah, say thank you. But stop drinking coffee at Dunkin' Donuts. This is not coffee. Trust me. The only reason I said it, George. George, what's this I hear about you spending $16 on a cup of coffee? Oh, yeah. I had to try it. It wasn't the most expensive, actually. It was another more expensive one.

Was it the one made with the beans? No, no, no, no. Those are actually banned in Australia now. Coffee beans are not supposed to come in touch with any animal, so they were banned a few years back. It's not about animal welfare. It's about human welfare. You're not supposed to have food processed by animals, apart from milk, I suppose. But no, no, it's none of those. They're just organic, fair trade, beans pre-washed, expensive post-processing. When I deliver a solution, it costs tax. When Hitachi delivers a solution, it costs 20 times tax. So it could be the same solution.

It's Hitachi behind it, not George. So same here. It's the coffee, but it's not Dunkin' Donuts coffee. It's Hitachi coffee. There's a lot to go into it. It was very nice coffee. I wouldn't pay again $16 for that cup, but I would pay. I don't know. Like if they asked me to pay $5 or $6, a normal cup costs like $3.54, like espresso or something like that. But that one, I would pay a bit more. Definitely not $16, but it was nice. It was a nice coffee. It was one of the best, considered to be one of the best.

coffee roasters in Australia, those guys. So pretentious on both sides of the table. Both barista and I were like, mmm, mmm, like concierge. You know what I mean, right? And did they not let you add anything into your coffee?

Oh, what do you mean? Like usually the more you pay, the less they want you to adulterate their handcrafted beverage with. Oh, yeah. I don't add anything to my coffee anyway, like even sugar or cream or anything like that. No, I don't add those anyway. So yeah, but it would be frowned upon. Yeah, it would be silly. It was a pour over. So if you add milk, it's going to be horrible because milk is going to overpower it. You're just going to be drinking milk, basically. Coffee flavored milk. That's it.

And by the way, Hitachi does not make coffee makers, but they do make home bakery bread machines, though. You know, I finally went into one of those, like Sam's Club, the discount warehouses. I saw a Hitachi TV. I haven't seen a Hitachi TV in forever. Hitachi TV? I used to have Hitachi TV. It was actually a very good TV. Yeah. I used to have one. It was flat. It was one of the first. What was the first? Plasma, right? Yeah. Plasma technology. So it was heavy as. Yeah.

I don't remember. It was like 70 kilos for TV. It wasn't that big. 20 years ago when I used to sell electronics, Hitachi was really big and I haven't seen any forever. And I just saw one at this discount warehouse and I'm like, wow, look at that. Vintage. Everything coming from Hitachi is vintage. TVs, Sean Tabor. On that note, thanks for listening to CRM Audio. Okay, guys. Thank you. See you next time.

Frequently asked questions

How long is this episode of CRM Audio?

This episode is 23 minutes long.

When was this CRM Audio episode published?

This episode was published on September 28, 2020.

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this CRM Audio episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.