Haven’t posted in a while, as usual. I got a new mobo, CPU, RAM, PSU, and case. Basically a whole new PC minus the GPU which is hard to come by right now. Fortunately my good friend Eric sent me a 2080Ti he rescued from the bitcoin mines of Iraq to tide me over until […]
Read More →Author: mindaugas
Azure – turn off AlwaysOn to save memory
Simple script to turn off AlwaysOn to save memory for dev/test apps. Not recommended for production apps since this will cause your app to sleep and that first request will take a while as the app wakes up. We saved enough memory to consolidate our test apps into one app service plan. For some reason […]
Read More →Dell Inspiron 7348 Sm Bus Controller driver for Windows 10
It’s the synaptics touchpad driver. This one worked for me. https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=756gc … and, I have not posted to this blog in well over a year. Wow. I’ve just been chugging along doing the needful. Or, tbh, I’ve been doing a lot of compliance and security and a lot less obscure errors and break fix. But […]
Read More →Delete all tables in Azure storage using powershell
I just copy and pasted some stuff from here and put it in a ForEach.
Read More →Fix The provided client secret keys are expired in Azure let’s encrypt
The provided client secret keys are expired This error happens because the secret created with the app identity that Let’s Encrypt uses to access the web app in Azure has expired. Find the app in app registrations. Login to Azure portal and navigate to Azure AD ? App Registrations. Search for the app by name or […]
Read More →Azure powershell – modernize your app service
Not sure what else to call this but a modernize your app service script. This will grab all the web apps in a subscription and then enable AlwaysOn, HTTP 2.0, disable PHP, set FTP to FTPS only, and TLS to 1.2. But wait, there’s more! It will also set the app to https only, meaning […]
Read More →Redis timeouts when used for session storage
Was seeing a lot of timeout errors in our apps in Azure through app insights. A lot meaning more than 50 per hour. Not to mention sporadic down time. All the timeouts were trying to talk to our redis caches that we use as simple session storage. Timeout performing EVAL, inst: 1, mgr: Inactive, err: […]
Read More →Powershell script – get FTP publishing info for Azure web app
Simple script that logs in and grabs the FTP publishing info for an app. I like to just copy and paste stuff into my powershell window so this is exactly that. Replace the variables with your own info and copy/paste it into Powershell. You could convert these to read-host or parameters pretty easily. You can […]
Read More →Azure VPN Gateway – The certificate’s CN name does not match the passed value.
Getting this error? Remove the connection from Windows. Go into the Azure portal and download the VPN client under point to site config Install client Profit.
Read More →Azure powershell – update an app setting without erasing them
Another simple script that updates an app setting. This one grabs the existing app settings of an Azure web app into a hash table that you can then add more hashes to. It’s nice because I manage a lot of web apps with different settings and I don’t want to carry over unnecessary settings from […]
Read More →