Skip to content

Can't get Copy-APDashboard.ps1 to work #29

@meetshamir

Description

@meetshamir

PS C:\WINDOWS\system32> Copy-APDashboard -Name 'AppLens' -Session 'source' -TargetSession 'target'
Copy-APDashboard : [Copy-APDashboard]: Unable to locate a dashboard named [AppLens] in
[app-service-diagnostics-portal][app-service-diagnostics-portal]
At line:1 char:1

  • Copy-APDashboard -Name 'AppLens' -Session 'source' -TargetSession 'ta ...
  •   + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Copy-APDashboard
    
    

This dashboard is in the project. I have the right PATs for both and source with sufficient permissions. What am I missing here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions