Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I got an error when I use PowerBI-Cli nodejs package tool to update the connection credentials after importing a new report on mooncake(endpoint: https://WABI-MC-BJB-redirect.analysis.chinacloudapi.cn). Next is command I run and log , please help!!
powerbi update-connection -c $WorkspaceCollectionName -w $workspaceId -k $appkey -d $datasetID -s $dbConnection -u $dbName -p $VMPassword -b $PBIApiEndpoint [ powerbi ] Found dataset! [ powerbi ] Id: 8b295d45-1993-4584-b3be-0bee55a2ed55 [ powerbi ] Name: xxxxxx [ powerbi ] Updating connection string... [ powerbi ] Getting gateway datasources... [ powerbi ] {"error":{"code":"DMTS_MonikerNotFoundError","pbi.error":{"code":"DMTS_MonikerNotFoundError","parameters":{},"details":[]}}} [ powerbi ] Method: GET [ powerbi ] Url: https://WABI-MC-BJB-redirect.analysis.chinacloudapi.cn/v1.0/collections/xxxxx/workspaces/%20xxxxxx/datasets/xxxxx/Default.GetBoundGatewayDatasources [ powerbi ] Status Code: 404 [ powerbi ] cache-control : no-store, must-revalidate, no-cache [ powerbi ] transfer-encoding : chunked [ powerbi ] content-type : application/json; charset=utf-8 [ powerbi ] server : Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 [ powerbi ] strict-transport-security : max-age=31536000; includeSubDomains [ powerbi ] x-frame-options : deny [ powerbi ] x-content-type-options : nosniff [ powerbi ] requestid : ecea4301-8268-4dd4-8984-cae2fd10bde2 [ powerbi ] date : Sat, 20 May 2017 14:17:23 GMT [ powerbi ] connection : close [ powerbi ] Connection string is not valid [ powerbi ] Method: POST [ powerbi ] Url: https://WABI-MC-BJB-redirect.analysis.chinacloudapi.cn/v1.0/collections/xxxxx/workspaces/%20xxxx/datasets/xxxx/Default.SetAllConnections [ powerbi ] Status Code: 400 [ powerbi ] cache-control : no-store, must-revalidate, no-cache [ powerbi ] transfer-encoding : chunked [ powerbi ] content-type : application/json; charset=utf-8 [ powerbi ] server : Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 [ powerbi ] strict-transport-security : max-age=31536000; includeSubDomains [ powerbi ] x-frame-options : deny [ powerbi ] x-content-type-options : nosniff [ powerbi ] requestid : 4502bc4c-3063-4a2f-958a-e53f47313929 [ powerbi ] date : Sat, 20 May 2017 14:17:24 GMT [ powerbi ] connection : close [ powerbi ] Connection string successfully updated [ powerbi ] Dataset: xxxxxxx [ powerbi ] ConnectionString: Server=tcp:xxxxx.database.chinacloudapi.cn,1433;Database=SNADemo;User ID=xxx;Password=xxxx;Trusted_Connection=False;Encrypt=True;Connection Timeout=30;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.