Views:

Applies to Product - Power Apps
 

What’s happening?
Customers encounter an error when attempting to import the "MSAL.PS" module while following instructions for creating a cross-tenant separation report.
 

Reason:
The error occurs because the specified module 'MSAL.PS' cannot be found in the module directory, indicating that the module has not been installed prior to the import attempt.
 

Resolution:

  1. Before executing the command Import-Module "MSAL.PS", ensure to run the command Install-Module "MSAL.PS" to install the module.
  2. After installation, retry the command to import the module.
  3. Verify that the values for -ClientId, -Scope, and Authorization are fixed values as recognized in the documentation.