问题描述
大家好
我目前有一个在Azure SSAS上运行的表格SSAS数据库。我有一个带有powershell的Runbook,我使用它来安排每天从我们的内部数据刷新多维数据集。一切都在没有问题。但是我们现在已经启用了复制
功能,并且在查询服务器上完成多维数据集处理后我无法运行同步。
I have currently a tabular SSAS database running on Azure SSAS. I have a runbook with powershell that I use with a schedule to refresh the cube daily from our on prem data. Everything is working without issues. However we have now enabled the replication functionality and i cant get the sync to run after the cube process is done on the query server.
我试图包含
I have tried to include
#Sync-AzureAnalysisServicesInstance -Instance" asazure://westeurope.asazure.windows.net/****" -Database" scaling_test_automation_jkr037" -PassThru
#Sync-AzureAnalysisServicesInstance -Instance "asazure://westeurope.asazure.windows.net/****" -Database "scaling_test_automation_jkr037" -PassThru
到powershell脚本,但脚本给了我以下错误,我在这里离开的位置有点迷失:
to the powershell script but the script gives me the following errors and I am a bit lost on where to go from here:
将数据库'scaling_test_automation_jkr037'的同步请求发送到服务器'asazure://westeurope.asazure.windows.net/****'。相关ID:'1640245f - *** 8-46f4 - ****'。''
它给出了这就在
sync-azureanalysisservicesinstance之后:对象引用未设置为对象的实例。
行:7字符:1
+ sync-azureanalysisservicesinstance -Instance asazure://westeurope.asa ...
+ ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
+ CategoryInfo :CloseError:(:) [Sync-AzureAnalysisServicesInstance],NullReferenceException
+ FullyQualifiedErrorId:Microsoft.Azure.Commands.AnalysisServices.Dataplane.SynchronizeAzureAzureAnalysisServer
任何想法我怎么能得到这个吗?
sync-azureanalysisservicesinstance : Object reference not set to an instance of an object.
At line:7 char:1
+ sync-azureanalysisservicesinstance -Instance asazure://westeurope.asa ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Sync-AzureAnalysisServicesInstance], NullReferenceException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.AnalysisServices.Dataplane.SynchronizeAzureAzureAnalysisServer
any idea how i can get this working?
推荐答案
确保您使用的是Microsoft Azure PowerShell - Analysis Services服务器管理。
更新Azure模块并重新尝试操作。
如果有帮助,请告诉我们。
这篇关于使用Azure自动化自动复制已处理的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!