Using DisableErrorRecordsPersistence inside of a Function App

Copper Contributor

A new item was added to the Az powershell module to stop constant logging of ErrorRecords in stories



Update-AzConfig -DisableErrorRecordsPersistence $true

The above command can be used to disable this locally.

What I'm trying to do is implement the setting in an Azure Function App. I updated requirements.psd1 to use Az 10

'Az' = '10.*'


I'm not having much luck getting the functionapp to use this setting though. Any suggestions?

0 Replies