We have a setup where we are using azure analysis services instances for Power BI. These instances are connected via a data gateway down to on premise SQL servers. In order to process these AAS models we are using linked servers, as we can execute JSON statements towards that and do a full process. This setup has functioned perfectly without any issues, until recently.
The errorcode is: "OLE DB provider "MSOLAP" for linked server "XXXX" returned message "The JSON DDL request failed with the following error: Input string was not in a correct format.."
Nothing has changed in our setup, it just stopped working. The code we use is as follows:
Problem solving:
The exact same setup works on a different server (meant for the danish department), same code and everything.
I can manually process the cube so it's not gateway related, nor is it related to parsing data types into wrong columns
I can execute MDX scripts in the same way and those return data to me, so shouldn't be any issue with the linked server or the AAS:
Switching to XMLA didn't help and i'm not sure one can run XMLA towards AAS after reading abit about it.
Creating a new Linked server with the same setup and connection gave same error.
the compitability of the AAS is 1465, and the SQL server is 14.0.3370.1
EDIT 1
Turns out i can't deploy to the AAS instance at all either, with the same error message as at the top of the post. Points me in the direction that it's the analysis services instance that is at fault here. Additionally it is only the instance running in the region North Central US that i can't deploy to. Works fine on an instance running in North Europe