Hello,
You can use TOM or XMLA, with the client libraries (AMO/ADOMD/PowerShell).
E.g. https://blog.crossjoin.co.uk/2019/08/25/setting-azure-analysis-services-server-properties-not-visible-in-sql-server-management-studio/ shows how to set a server property using an XMLA script.