How to set RediSearch ON_TIMEOUT configuration in Azure Manage Redis - Encountering invalid arguments error.

Malcolm Robertson - DSV 0 Reputation points
2025-09-26T11:15:52.53+00:00

When trying to create a Azure Manage Redis instance, using the below PowerShell command, it gives the error. How can we set the ON_TIMEOUT to FAIL for this? It is available in official Redis documentation, and we require this for migrating our on-prem application to cloud.

https://redis.io/docs/latest/develop/ai/search-and-query/administration/configuration/

Az.RedisEnterpriseCache.internal\New-AzRedisEnterpriseCacheDatabase : Arguments for the module 'RediSearch' are invalid. The valid values are MINPREFIX, MAXEXPANSIONS, MAXPREFIXEXPANSIONS, MAXDOCTABLESIZE, MAXSEARCHRESULTS, PARTIAL_INDEXED_DOCS, FORK_GC_CLEAN_THRESHOLD.

New-AzRedisEnterpriseCache `
  -...
  -Module "{ name:RedisJSON }","{name:RedisBloom }","{name:RedisTimeSeries}","{name:RediSearch,args:`"MINPREFIX 1 ON_TIMEOUT FAIL`" }" `
  -...	
Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.