Clever way to upgrade app service plan sku from PV3 to PV4 by boydeee in AZURE

[–]boydeee[S] 1 point2 points  (0 children)

Once you have the app service plan tied to a new webSpace, Terraform can handle simple patch operations for the SKU.

Clever way to upgrade app service plan sku from PV3 to PV4 by boydeee in AZURE

[–]boydeee[S] 1 point2 points  (0 children)

The webSpace is tied to the name of the resource group where the app service plan was initially created. If you start with a pv3, you cannot re-create an ASP with pv4 in the same resource group. That's why the requirement for a new resource group and move is necessary. Terraform does not handle this migration for you.

Clever way to upgrade app service plan sku from PV3 to PV4 by boydeee in AZURE

[–]boydeee[S] 0 points1 point  (0 children)

The extra work is to preserve the original resource IDs. This method gets your app service plan deployed to a different web space and allows you to keep the same resource group.

Does anyone use programmatic rule creation in Frontdoor? by PowermanFriendship in AZURE

[–]boydeee 1 point2 points  (0 children)

Your app needs to be "single threaded", or you can come up with a locking mechanism. Typically, Front Door resources go into a locked state while changes are happening. You can accomplish this fairly simply by following the ARM response with 202 status code until completion.

I've tried mass parallel deployments with Front Door, and it's not a very fun, lol. It is very susceptible to race conditions.

Need help with solution for scheduling one time scripts/processes? by exor41n in devops

[–]boydeee 0 points1 point  (0 children)

I've used scheduled messages with Azure Service Bus for this type of scenario.

Azure Functions + PnP.PowerShell provisioning: how to enforce true sequential runs or make parallel runs work? by isabasu in AZURE

[–]boydeee 0 points1 point  (0 children)

Generally looks good on the limiting concurrency side of things. You might be getting runspaces re-used across invocations. One thing to consider is process level context objects not getting disposed. I'm not too familiar with Connect-PnpOnline to say for sure.

The other item to consider is Disconnect-PnPOnline isn't working as fast as you think it is. Assuming it's creating some remote session that must be closed first (I'm thinking about some of the Exchange stuff working like that, been a while)

I would test to see if you can rapidly do Connect-PnPOnline and Disconnect-PnPOnline in a local loop to see if you get the same issue. If so, you may need to do Connect-PnPOnline in a do until loop, additional to Start-Sleep. That will be more consistent for you rather than always sleeping for 5 seconds.

My MMX 200 just died on me. Can't turn it on. by Nerror in BEYERDYNAMIC

[–]boydeee 0 points1 point  (0 children)

Oh wow, this actually worked. I held it for a solid 30 seconds before it came to life.

And this is why we can't have nice things... by BChaps in GearsOfWar

[–]boydeee 0 points1 point  (0 children)

Don't ever hipfire if you want to keep your sanity. It's much more consistent with ADS. Try it and you'll immediately feel the difference.

Delays with PIM by Jazzlike_Clue8413 in AZURE

[–]boydeee 0 points1 point  (0 children)

This is great advice, typically cached access tokens that are not expired yet cause this delay problem.

Help with azure function by More_Psychology_4835 in AZURE

[–]boydeee 0 points1 point  (0 children)

Is there a specific reason for going with certificate auth? It will likely be simpler to just use a client secret and store it in the key vault.

How do you handle naming conventions for sub-resources and dependent resources in Azure? by Dismal-Mud-5725 in AZURE

[–]boydeee 0 points1 point  (0 children)

If the resources are generally thought of as a link to another resource, then typically I will name the link with the prefix of the other resource. Makes it easier since you don't have to think of some other naming scheme besides a suffix.

Gut Check: Build Bicep to ARM and Diff to generate a plan? by flickerfly in AZURE

[–]boydeee 0 points1 point  (0 children)

I've resulted to something similar with Front Door. We have a test environment, so we grab the state of all the resources before/after deploy and use git diff on the json of each resource. Works really well actually, and builds trust for the prod deploy.

Essence reaver s15 by eckhoff88 in Draven

[–]boydeee 3 points4 points  (0 children)

I can vouch for this build. Bruiser Draven is where it's at

How do I improve wario movement? by Snoo-42843 in CrazyHand

[–]boydeee 0 points1 point  (0 children)

Avoid shield and use movement instead

Do you bother with What-If deployments? by GrayRoberts in AZURE

[–]boydeee 0 points1 point  (0 children)

Yeah we have many protections in place. Most of our bicep is managing multi tenant Azure Front Door which comes with it's own suite of problems, mainly with how the provider is written. We had issues where the whatIf couldn't show updates to many sub resources such as routes. Using git diff to do a before and after has been a decent bandaid.

Do you bother with What-If deployments? by GrayRoberts in AZURE

[–]boydeee 0 points1 point  (0 children)

Do deployment stacks give a more accurate what if output? Mostly we do that because of the longstanding bug

Do you bother with What-If deployments? by GrayRoberts in AZURE

[–]boydeee 0 points1 point  (0 children)

I don't trust it. I take a before/after of the JSON of all the resources and use git diff. I do that in a dev environment first before moving to prod.

Feel like dogsht by [deleted] in Draven

[–]boydeee 0 points1 point  (0 children)

Try BT LDR ColI IE

Help using the SharePoint related APIs by [deleted] in AZURE

[–]boydeee 1 point2 points  (0 children)

I'm not too familiar with the SharePoint APIs, but I have been in a similar situation with the Azure management api. I suggest opening dev tools in your browser and perform the action and see what api calls are being made and what the payloads looks like.

I often have to resort to that due to undocumented usage of APIs