Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Run PowerShell in administrator mode navigate to the script folder, and execute the following commands:

If the configuration file is in the same directory as the main.ps1 file -

Code Block
languagepowershell
.\main.ps1

If the configuration file is not the same directory as main.ps1 file - not providing the Tenant Id to the script:

Code Block
languagepowershell
.\main.ps1 -appConfigurationFileNameenvironment [absolute path as a text] -isAbsolutePath

...

'nca', 'ncd', 'nct', 'pcp']

If providing the Tenant Id to the script:

Code Block
languagepowershell
.\main.ps1 -tenantIdenvironment [value as text'nca', 'ncd', 'nct', 'pcp'] -tenantId [Guid]
Post Script Execution
  • In the newly created Vessel Registry App Registration → Manage → API permissions → click on the Grant admin consent

...