Posts

app.diagrams.net (formerly draw.io): a useful free tool for doing cloud and other architecture charts

by Patrick Lee on 28 Jan 2023 in categories tech with tags Office design architecture Azure

I have found app.diagrams.net useful for doing architecture charts to document and explain how the different components in a distributed application work together..

LogVersionInfo: a useful subfunction to include in your Azure Functions to record the version used every day (or other interval)

by Patrick Lee on 28 Jan 2023 in categories tech with tags AzureFunctions

When deploying code, it is important to be able to have an easy way to check that the deployment worked and that the version deployed is the one you published. This is particularly important when deploying by swapping (e.g. from stage to production): in my experience, the swaps work about ...

Microsoft Azure's Monitor for Azure Functions is buggy - check the logs for any missing data

by Patrick Lee on 28 Jan 2023 in categories tech BigData with tags Application Insights AzureFunctions Azure

In the Azure portal, for Azure Functions, I've found that the Monitor section for individual subfunctions is not infrequently a bit buggy, in that it misses out some function runs, particularly for functions trigged by a timer. To check whether the function actually ran on a particular day, check the logs for the function: they are usually far more complete.

An Excel VBA multiple decrement model of IFoA membership (v1)

by Patrick Lee on 10 Sep 2022 in categories actuarial with tags modelling VBA Excel

Here is the first version of an Excel VBA program to model the membership of the Institute and Faculty of Actuaries (or any similar professional body). It may be freely used by others under the Creative Commons License. I have produced this in an attempt to help actuaries and others ...

No Application Insights requests or exceptions showing for .NET 5 and 6 app services? Need to configure the project within Visual Studio

by Patrick Lee on 25 Aug 2022 in categories tech with tags Application Insights .NET6.0 .NET 5.0

If App Insights is not showing any data for a .NET 6 (or 5) web app, configure it within Visual Studio

Microsoft Graph: to change user passwords, an app can't use API permissions instead just needs User Administrator role

by Patrick Lee on 25 Aug 2022 in categories tech with tags ADB2C MicrosoftGraph Azure ActiveDirectory

User Administrator (or similar) role is needed for a registered app to change a user's passwords within Microsoft Graph.

A hole in Azure Active Directory: Microsoft ought to list the roles a registered application has

by Patrick Lee on 25 Aug 2022 in categories tech with tags Azure ActiveDirectory

It is very hard to find out what roles an app has been granted. When you add a role, document this within the notes section of the app's blade in the Azure portal. Microsoft ought to fix this.

Running out of disk space on a Windows pc? TreeSize may help, beware OneNote cache and backup folders

by Patrick Lee on 19 Jun 2022 in categories tech with tags OneNote Windows

I have been finding that on several pcs that I use, the free space on the C drive has been reducing constantly over time. The existing tools within Windows 10 didn't help as they don't make it easy to find out where the large files and folders are, and the ...

Want to move large files/large numbers of files to/from Azure Storage? Use AzCopy or Microsoft Azure Storage Data Movement

by Patrick Lee on 20 May 2022 in categories tech BigData with tags AzureFunctions AzureStorage

If you need to move thousands of Azure blobs, or very large ones (many GB) then you can either use AzCopy (a command line tool which you run locally), or if you want to do things programmatically, you can use the Microsoft Azure Storage Data Movement library. That library is ...

How to extend the timeout for Azure functions beyond the default limits - use AzureFunctionsJobHost__functionTimeout setting

by Patrick Lee on 20 May 2022 in categories tech BigData with tags AzureFunctions

By default, Azure functions timeout after 10 minutes (or 30 minutes if running in an App Service Plan, or a Premium plan). The official documentation (see https://docs.microsoft.com/en-us/azure/azure-functions/functions-host-json#functiontimeout) says that you can increase (or reduce) this by adding a functionTimeout value to host.json. But this doesn't seem to work for a ...

Prev Next