none
Azure automation using runbook RRS feed

  • Question

  • i am getting this error when i run the last command everything is right and my database name is also correct in azure analysis service. i stuck only this place.

    $AzureCred = Get-AutomationPSCredential -Name "{Your Credential Name}"
    Add-AzureAnalysisServicesAccount -RolloutEnvironment '{AAS Instance Region}' -ServicePrincipal -Credential $AzureCred -TenantId "{Your Tenant ID}"
    Invoke-ProcessASDatabase -server "{AAS Instance URL}" -DatabaseName "{Your AAS DB Name}" -RefreshType Full
    Invoke-ProcessASDatabase : The "adventureworks" database does not exist on the server.
    At line:7 char:1
    + Invoke-ProcessASDatabase -server "asazure://centralus.asazure.windows ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Invoke-ProcessASDatabase], AmoException
        + FullyQualifiedErrorId : 
    Microsoft.AnalysisServices.AmoException,Microsoft.AnalysisServices.PowerShell.Cmdlets.ProcessASDatabase


    Wednesday, September 25, 2019 9:03 AM

All replies