Open Access dashboards list

Hi,

There are many dashboards in our V2 version environment, so would like to know the list of dashboards that has Open access, because the same dashboards are supposed to give open access in V3 version. It would be great if any script to pull the list.

Thanks…

In v2, each dashboard xml with open access enabled, you will find a section like this:

<IsOpenAccess>true</IsOpenAccess>
<OpenAccessId>GUID</OpenAccessId>
</OpenAccess>
Using PowerShell, you will be able to pull a list of dashboards that have OA enabled.

Dashboards are stored here in v2 (run the script in this location):

C:\inetpub\wwwroot\SquaredUpv2\Configuration\Views

The PowerShell would be something like:

Get-ChildItem -Recurse | select-string "<IsOpenAccess>true</IsOpenAccess>" | group path | select name

The migration script will not migrate Open Access configurations though – this would be a manual task, post migration.

In version 3, Open Access mappings are stored in a json file here:

..\squaredupv3\user\configuration\open-access-mapping.json

However, using the GUI, you can find your open access dashboards via System > Open Access:

2018-05-16-13_44_05-SCOM-2016-Build.docx-Last-saved-by-user-Word.jpg

Really this made very simpler, thank you so much.

Likewise can we do for Version3,?

Answer updated above :slight_smile:

Thanks Jelly… :slight_smile:

Not a problem! Please can you set this as the best answer so that it appears as solved, should anyone else have similar questions? It’s the tick on the left side of the post :wink: Thanks!