MC1185908 New allowlisting required for Test/Preprod BAPRP access
Primary service: Power Platform
ChangePilot summary
- Access to Test and Pre-production environments will be restricted to allowlisted tenants only.
- No changes will occur for access in Production/Public environments.
- Admins must follow specific steps to request their tenant be allowlisted.
- A script must be run by tenant admins to create necessary service principals for functionality in Test and Pre-production.
- Failure to allowlist will result in errors when requesting BAPRP access in Test and Pre-production.
History
Recorded changes
No changes recorded since ChangePilot first saw this post.
Microsoft message
As of October 13, 2025, access to Test and Pre-production environments is now limited to allowlisted tenants due to enhanced security measures.
No change is expected or needed for access in Production/Public environments.
What action do I need to take?
To request access for your tenant, please follow the steps outlined in https://aka.ms/powerappstestauthorization to be allowlisted. Please note that BAPRP can't help with the allow-listing process and can't run it for partners. The allowlisting needs to be done by the admin of the tenant.
If you are unable to access this link, the allowlisting steps are listed below.
Important:
This script must be run as an admin in the test tenant and will create all the necessary service principals and assign the necessary application permissions needed for the Power Platform to function in Test and Preprod. The Power Apps RP team CANNOT complete this step for you. Only someone with tenant admin can do this.
In the future, as more permissions and applications are added to the platform, access to non-prod will break and this script will need to be run again to restore functionality.
If your tenant is not allowlisted for Test and Pre-production access, BAPRP requests in Test and Pre-production will fail with the errors "GraphRequestFailedIdentityNotFound" or "Authorization_IdentityNotFound".
An example of an error would look something like the following:
"""
Request failed with ErrorResponseMessageException. HttpStatus: 'Conflict', ErrorCode: 'GraphRequestFailedIdentityNotFound' and ErrorMessage: 'The request failed with error: '{"error":{"code":"Authorization_IdentityNotFound","message":"The identity of the calling application could not be established.","innerError":{"date":"2025-11-10T20:06:43","request-id":"742c7fb0-63ec-4928-86ae-b02936a8a0f5","client-request-id":"742c7fb0-63ec-4928-86ae-b02936a8a0f5"}}}'. The tracking Id is 'af7c8fd8-9c98-4222-927d-c0c1c02cc5fe'.'.
No change is expected or needed for access in Production/Public environments.
What action do I need to take?
To request access for your tenant, please follow the steps outlined in https://aka.ms/powerappstestauthorization to be allowlisted. Please note that BAPRP can't help with the allow-listing process and can't run it for partners. The allowlisting needs to be done by the admin of the tenant.
If you are unable to access this link, the allowlisting steps are listed below.
Important:
This script must be run as an admin in the test tenant and will create all the necessary service principals and assign the necessary application permissions needed for the Power Platform to function in Test and Preprod. The Power Apps RP team CANNOT complete this step for you. Only someone with tenant admin can do this.
In the future, as more permissions and applications are added to the platform, access to non-prod will break and this script will need to be run again to restore functionality.
- Clone repo https://dev.azure.com/dynamicscrm/ALM/_git/PowerPlatformNonProdAllowListing (Join entitlement DynamicsCRM-Contributor if you don't have access to the repository.)
- Be sure to pull the latest version of the script as it changes frequently.
- Open PowerShell 7 with admin access. PowerShell Core (7.1.5 or later) is different from the Windows PowerShell you likely already have installed and runs with a separate executable ('PowerShell 7' app).
- Install Microsoft Graph SDK by running:
Install-Module Microsoft.Graph -Scope AllUsers - For authentication, run:
Connect-MgGraph -Scopes ("Application.Read.All", "Application.ReadWrite.All", "AppRoleAssignment.ReadWrite.All", "DelegatedPermissionGrant.ReadWrite.All") - Run the script from the root of the repo cloned in step 1 with your tenant Id. Feel free to ignore warning messages.
.\AllowListTestTenant.ps1 -TenantId YOUR-TENANT-ID-HERE -AzureEnv Global
If your tenant is not allowlisted for Test and Pre-production access, BAPRP requests in Test and Pre-production will fail with the errors "GraphRequestFailedIdentityNotFound" or "Authorization_IdentityNotFound".
An example of an error would look something like the following:
"""
Request failed with ErrorResponseMessageException. HttpStatus: 'Conflict', ErrorCode: 'GraphRequestFailedIdentityNotFound' and ErrorMessage: 'The request failed with error: '{"error":{"code":"Authorization_IdentityNotFound","message":"The identity of the calling application could not be established.","innerError":{"date":"2025-11-10T20:06:43","request-id":"742c7fb0-63ec-4928-86ae-b02936a8a0f5","client-request-id":"742c7fb0-63ec-4928-86ae-b02936a8a0f5"}}}'. The tracking Id is 'af7c8fd8-9c98-4222-927d-c0c1c02cc5fe'.'.
More information
Details
Services
- Power Platform
Category
- Prevent or fix issues
Microsoft tags
- Admin Action