Skip to content

Commit 6abf420

Browse files
authored
Merge pull request #9160 from MicrosoftDocs/komala2019-patch-4
AB#6314: Update wrap-issues.md
2 parents d8342d7 + 8d579c3 commit 6abf420

File tree

1 file changed

+63
-20
lines changed

1 file changed

+63
-20
lines changed

support/power-platform/power-apps/manage-apps/wrap-issues.md

Lines changed: 63 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Provides solutions to common issues when using the wrap feature in
44
ms.reviewer: sitaramp, koagarwa
55
ms.author: arijitba
66
author: arijitba
7-
ms.date: 06/17/2025
7+
ms.date: 06/24/2025
88
ms.custom: has-azure-ad-ps-ref, azure-ad-ref-level-one-done, sap:App Management\Wrap an app
99
---
1010
# Troubleshoot wrap feature issues in Power Apps
@@ -87,17 +87,18 @@ If you can't sign in or see data in your wrapped app, try the following actions:
8787

8888
You might encounter these error codes in the wrap wizard:
8989

90-
| Error Code | Error Message |
90+
| Error code | Error message |
9191
|------------|-------------|
9292
| [1000118](#error-code-1000118) | Default subscription not found or missing access permissions. |
93-
| [1000119](#error-code-1000119) | Key vault doesn't exist or is missing access privileges. |
94-
| [1000120](#error-code-1000120) | No organization ID tags found on key vault. |
95-
| [1000121](#error-code-1000121) | Android keystore isn't valid. Missing tag and/or certificate. |
96-
| [1000122](#error-code-1000122) | iOS certificate isn't valid. |
97-
| [1000123](#error-code-1000123) | iOS profile isn't valid. |
98-
| [1000128](#error-code-1000128) | Missing access key used while accessing Azure Blob storage location. |
99-
| [1000130](#error-code-1000130) | Missing default value: The required environment variable for setting up Azure Key Vault in the wrap wizard isn't set. |
100-
| [1000131](#error-code-1000131) | Missing tags for the specified Azure Key Vault resourceID. |
93+
| [1000119](#error-code-1000119) | Key vault doesn't exist or is missing access privileges.|
94+
| [1000120](#error-code-1000120) | No organization ID tags found on key vault. Ensure that the tag {Bundle ID}.{organization-id} is present and uses the correct case sensitivity.|
95+
| [1000121](#error-code-1000121) | Android keystore isn't valid. Ensure that the tag {Bundle ID}.{keystore} is present and uses the correct case sensitivity.|
96+
| [1000122](#error-code-1000122) | iOS certificate isn't valid. Missing Tag and/or Secret. Ensure that the tag {Bundle ID}.{cert} is present and uses the correct case sensitivity.|
97+
| [1000123](#error-code-1000123) | iOS profile isn't valid. Ensure that the tag {Bundle ID}.{profile} is present and uses the correct case sensitivity.|
98+
| [1000128](#error-code-1000128) | Missing access key required to access the Azure Blob Storage location. Ensure that the tag {Bundle ID}.{accessKey} is present and uses the correct case sensitivity.|
99+
| [1000130](#error-code-1000130) | Missing default value: The required environment variable for setting up Azure Key Vault in the wrap wizard isn't set.|
100+
| [1000131](#error-code-1000131) | No tags or missing access permission for the specified Azure Key Vault. |
101+
| [1000132](#error-code-1000132) | Missing environment variable 'PA_Wrap_KV_ResourceID' for the targeted environment. |
101102

102103
### Error code 1000118
103104

@@ -161,7 +162,7 @@ Error message: Key vault doesn't exist, or Key vault is missing access privilege
161162

162163
### Error code 1000120
163164

164-
Error message: No organization ID tags found on key vault.
165+
Error message: No organization ID tags found on key vault. Ensure that the tag {Bundle ID}.{organization-id} is present and uses the correct case sensitivity.
165166

166167
#### Resolution steps
167168

@@ -179,7 +180,7 @@ Error message: No organization ID tags found on key vault.
179180

180181
### Error code 1000121
181182

182-
Error message: Android keystore isn't valid. Missing Tag and/or Certificate.
183+
Error message: Android keystore isn't valid. Ensure that the tag {Bundle ID}.{keystore} is present and uses the correct case sensitivity.
183184

184185
#### Resolution steps
185186

@@ -198,7 +199,7 @@ Error message: Android keystore isn't valid. Missing Tag and/or Certificate.
198199

199200
### Error code 1000122
200201

201-
Error message: iOS certificate isn't valid.
202+
Error message: iOS certificate isn't valid. Missing Tag and/or Secret. Ensure that the tag {Bundle ID}.{cert} is present and uses the correct case sensitivity.
202203

203204
#### Resolution steps
204205

@@ -217,7 +218,7 @@ Error message: iOS certificate isn't valid.
217218

218219
### Error code 1000123
219220

220-
Error message: iOS profile isn't valid.
221+
Error message: iOS profile isn't valid. Ensure that the tag {Bundle ID}.{profile} is present and uses the correct case sensitivity.
221222

222223
#### Resolution steps
223224

@@ -232,7 +233,7 @@ Error message: iOS profile isn't valid.
232233

233234
### Error code 1000128
234235

235-
Error message: Missing access key used while accessing Azure Blob storage location.
236+
Error message: Missing access key required to access the Azure Blob Storage location. Ensure that the tag {Bundle ID}.{accessKey} is present and uses the correct case sensitivity.
236237

237238
#### Resolution steps
238239

@@ -246,19 +247,61 @@ Error message: Missing default value: The required environment variable for sett
246247

247248
#### Resolution steps
248249

249-
- Add the resource ID for the Azure key vaults you intend to use with your wrap application.
250-
- Ensure that all required tags are present for the resource ID linked to the Bundle ID specified in the wrap wizard.
250+
1. Assign the resource ID of the Azure key vault you intend to use with your wrap application to the variable.
251+
252+
2. Confirm that the specified resource ID includes all required tags associated with the Bundle ID defined in the wrap wizard.
251253

252254
For more information, see [Step 2: Target platform](/power-apps/maker/common/wrap/wrap-how-to#step-2-target-platform).
253255

254256
### Error code 1000131
255257

256-
Error message: Missing tags for the specified Azure Key Vault resourceID.
258+
Error message: No tags or missing access permission for the specified Azure Key Vault.
257259

258260
#### Resolution steps
259261

260-
- After setting up Azure key vaults, add all required tags.
261-
- Confirm that the resource ID associated with the Bundle ID specified in the wrap wizard includes every necessary tag.
262+
1. Assign the resource ID of the Azure key vault you intend to use with your wrap application to the variable.
263+
264+
2. Confirm that the specified resource ID includes all required tags associated with the Bundle ID defined in the wrap wizard.
265+
266+
3. Ensure you have permission to access your key vault:
267+
268+
1. As a Microsoft Entra ID (formerly Azure AD) admin, add the service principal for the AppID "4e1f8dc5-5a42-45ce-a096-700fa485ba20" by running the following commands in PowerShell:
269+
270+
```powershell
271+
Connect-AzureAD -TenantId <your tenant ID>
272+
New-AzureADServicePrincipal -AppId 4e1f8dc5-5a42-45ce-a096-700fa485ba20 -DisplayName "Wrap KeyVault Access App"
273+
```
274+
275+
1. In the [Azure portal](https://portal.azure.com), under **Access Control (IAM)**, assign the **Reader** role to your service principal:
276+
277+
1. Go to **Access control (IAM)**, and then select **Add role assignment**.
278+
279+
:::image type="content" source="media/wrap-issues/add-role-assignment.png" alt-text="Screenshot that shows the Add role assignment option in the Access control (IAM) tab." lightbox="media/wrap-issues/add-role-assignment.png":::
280+
281+
1. Choose **Reader** under **Job function roles** and go to the **Members** tab.
282+
283+
:::image type="content" source="media/wrap-issues/add-members.png" alt-text="Screenshot that shows the Members tab on the top menu." lightbox="media/wrap-issues/add-members.png":::
284+
285+
1. Search for your app name.
286+
287+
:::image type="content" source="media/wrap-issues/select-members-to-add-role.png" alt-text="Screenshot that shows how to search for your app." lightbox="media/wrap-issues/select-members-to-add-role.png":::
288+
289+
1. Assign the **Reader** role.
290+
291+
:::image type="content" source="media/wrap-issues/assign-reader-role-to-wrap-keyvault-access-app.png" alt-text="Screenshot that shows how to assign a Reader role to your app." lightbox="media/wrap-issues/assign-reader-role-to-wrap-keyvault-access-app.png":::
292+
293+
For more information, see [Step 2: Target platform](/power-apps/maker/common/wrap/wrap-how-to#step-2-target-platform).
294+
295+
---
296+
### Error code 1000132
297+
298+
Error message: Missing environment variable 'PA_Wrap_KV_ResourceID' for the targeted environment.
299+
300+
#### Resolution steps
301+
302+
1. Check whether the environment variable `PA_Wrap_KV_ResourceID` exists in the target environment. If it doesn't, create it.
303+
304+
2. Ensure the name follows the correct naming convention without typos or formatting errors.
262305
263306
For more information, see [Step 2: Target platform](/power-apps/maker/common/wrap/wrap-how-to#step-2-target-platform).
264307

0 commit comments

Comments
 (0)