> For the complete documentation index, see [llms.txt](https://docs.intunepckgr.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.intunepckgr.com/troubleshooting/troubleshooting-steps.md). Agents can also search and read this documentation through its [MCP server](https://docs.intunepckgr.com/~gitbook/mcp).

# Troubleshooting Steps

Read our best practice processes for troubleshooting your deployment issues

This section of the documentation is designed to assist users in identifying and resolving common issues that may arise when deploying applications through Pckgr. While Pckgr is built to streamline and automate software deployment into Microsoft Intune, variables such as device configurations, installer types, scope mismatches, or network issues can occasionally lead to unexpected results.&#x20;

Here, you'll find practical guidance and diagnostic steps for addressing these problems efficiently—whether it's an application failing to deploy, not being detected after installation, or any other aspect of your deployment workflows. Before reaching out to the support team, we recommend reviewing these guides to perform initial checks that often resolve issues independently.

### Have you checked the Install Logs?

Pckgr creates install logs on the devices for all applications to provide further insight into your installation procedures - we recommend checking these for troubleshooting any errors. Read more [here](https://docs.intunepckgr.com/troubleshooting/install-logs.md).

### Is your application deployed from Pckgr's Winget Repository?

If you joined Pckgr prior to May 2025, you may have been deploying applications from Pckgr's Winget Repository, which you can now upgrade to the Private Repository version, following the instructions in our [Upgrade Applications ](https://docs.intunepckgr.com/getting-started/creating-deployments/repositories/private-repository/upgrading-a-winget-application-to-the-private-repository)page. For more information on our transition away from our Winget Repository and allowing all users access to our Private Repository, please read the information on our [Private Repository](https://docs.intunepckgr.com/getting-started/creating-deployments/repositories/private-repository.md) page.

The first step is to check which repository you have deployed this application from; this can be determined in your Application Library under the title 'Source' for that application. If it states 'Winget', please upgrade this application to the Private Repository version before any next steps.&#x20;

After this upgrade has successfully deployed, please assess if your installation error still occurs.

If you joined Pckgr after May 2025, the Winget Repository information will not be applicable to your Pckgr experience and you can move to the next steps.

***

## Common Errors

### ERROR: 0x87D1041C Application Installed but Not Detected

Occasionally, users may encounter a scenario where an application is reported as successfully installed in Intune, but Pckgr (or Intune) does not detect the application. Below are steps to identify and resolve the most common causes of this issue.

<details>

<summary>Read troubleshooting steps</summary>

#### Step 1:  *First, please check if your application is deployed from the Winget Repository and follow the 'upgrade' instructions mentioned above. This will likely resolve your issue.*

#### Step 2: Check for Installer Type Mismatch (EXE vs MSI)

A common cause of detection failures is an installer format mismatch between what's already on the device and what's being deployed. For example:

* If the deployed version uses an **EXE** installer but the device already has the **MSI** version (or vice versa), the detection script may fail.
* MSI installations typically leave registry traces or product codes that EXE versions do not, and detection logic is often tailored to one or the other.

**Solution:**

* Identify which version is currently installed on the device.
* Compare this with the installation method being used by the Pckgr deployment.
* Redeploy using the matching version type, or uninstall the existing conflicting version first.

#### Step 3: Check for Scope Mismatch (User vs System)

Another frequent cause is a scope mismatch:

* If the application was previously installed in **User Scope** (under the user profile) but is being redeployed in **System Scope** (for all users), the detection logic may miss it—or vice versa.

**Solution:**

* Determine how the existing installation was scoped (look at the install path—e.g., under `C:\Users\<User>\AppData` for user installs, or `C:\Program Files` for system installs).
* Re-align your deployment scope in Pckgr to match the existing installation, or uninstall the original to avoid conflict.

#### Step 4: Review Installation Logs

Pckgr logs the installation process to help identify what occurred during the deployment:

* For **System Context** installs:\
  `C:\ProgramData\Pckgr`
* For **User Context** installs:\
  `C:\Users\<Username>\AppData\Local\Pckgr`

These logs can provide clues such as:

* Whether the installation silently failed.
* If a different version was installed.

Review these logs to verify the installation and understand any anomalies. If you're unsure what the logs indicate, you can include them in a support request for further help.

#### Step 5: When to Raise a Support Ticket

If you have verified:

* The installer type and scope are correct,
* The logs do not show any clear failure or misconfiguration,
* And the detection still fails,

Then it's time to raise a support ticket with our team. Please include the following:

* A copy of the relevant installation log.
* Any error codes or statements showing in Intune for this application.

You can raise a support ticket by following the steps outlined in the [Pckgr ChatBot](https://docs.intunepckgr.com/support/pckgr-support-channels/pckgr-chatbot.md) page.

</details>

***

### macOS App Updates Not Working

If your macOS applications are no longer updating through Pckgr — even though they were previously deployed successfully — this is likely due to a recent permission enforcement by Microsoft Intune.

Pckgr deploys macOS apps using Installomator-based scripts, which are managed through the **Devices > macOS > Scripts** section in Intune. These deployments rely on Microsoft Graph API access.

Microsoft now requires an additional permission to perform script-based operations. If this permission has not been granted, macOS app updates through Pckgr will stop without error.

<details>

<summary>Read troubleshooting steps</summary>

### New Required Permission

To continue managing and updating macOS applications via scripts, your Microsoft tenant must approve the following Graph API permission:

```
DeviceManagementScripts.ReadWrite.All
```

This permission allows approved applications to create, assign, and modify PowerShell and shell scripts within Intune.

Official Microsoft documentation:\
DeviceManagementScripts.ReadWrite.All – Microsoft Graph Permissions Reference

***

### What’s Affected

* Affected: macOS apps deployed through the **Scripts** section in Microsoft Intune
* Not affected: Apps deployed through the **Apps** section of Intune (e.g. Windows apps)

You may notice:

* Updates are no longer being delivered to macOS devices
* Intune shows apps as deployed but with outdated versions
* No error appears in Pckgr or Intune — deployments silently stop updating

***

### How to Fix It

To restore macOS update functionality, you’ll need to reconnect your Intune tenant and accept the updated permission scope. This can be done through the **Policy Manager** tab in your Pckgr dashboard.

#### Steps:

1. Log in to your Pckgr Dashboard: <https://intunepckgr.com/dashboard>
2. Open the **Policy Manager** tab
3. Click **Reconnect to Intune**
4. When prompted by Microsoft, review and accept the updated permissions, including `DeviceManagementScripts.ReadWrite.All`

After completing this process, Pckgr will resume managing and updating macOS apps automatically. There is no need to redeploy any existing apps.

***

### Additional Notes

* Microsoft has not issued a formal public announcement for this change, but it is now actively enforced across many tenants
* This requirement affects all third-party tools that manage Intune scripts via the Microsoft Graph API
* This is the only permission change required to restore functionality

***

### Still Having Issues?

If your macOS updates are still not working after reconnecting:

* Ensure the Microsoft account used during reconnection has **Global Administrator** privileges
* Confirm that the tenant shows a **Connected** status in the Policy Manager tab

If problems persist, please contact Pckgr support at <support@intunepckgr.com> or use the in-app chat in the dashboard.

</details>

***

### Cannot Connect a Tenant or Company to Pckgr

When you click **Connect** on the Pckgr dashboard, you sign in to Microsoft and approve the permissions Pckgr needs. Microsoft then sends you back to the dashboard. If something goes wrong, Pckgr shows a message explaining what happened and the next step. Find your message or error code below.

**Before you start:** sign in to Microsoft with a **Global Administrator** account of the tenant you are connecting.

***

#### Retry your Connection

Before attempting a reset, confirm the following:

* You are signing in using a **Global Administrator** account for the Microsoft tenant when prompted.
* All requested Microsoft permissions are being accepted during sign-in.
* The Microsoft sign-in redirect is allowed to fully complete, do not close the browser tab early.

If any of these are skipped or incomplete, the connection to Pckgr may not succeed.

#### Full Tenant Reset Procedure

If the connection still fails after the initial checks, follow these steps to fully reset the integration:

<details>

<summary>Connection Reset Procedure</summary>

1. **Ensure Global Admin** is used throughout the entire process.
2. **Remove any existing Pckgr-related Azure entries:**
   * Go to **Azure Active Directory > Enterprise Applications** and delete any applications related to Pckgr.
   * Go to **Azure AD > App Registrations** and remove any entries created by or for Pckgr.
   * Under **Admin Consent Requests**, revoke any pending or failed consent grants related to Pckgr.
3. **Delete the Company in Pckgr**:
   * In the **My Companies** section of the dashboard, remove the affected company.
4. **Open a private/incognito browser window**.
5. **Sign into Pckgr**.
6. **Re-add the company** under the My Companies section.
7. **Connect the company to Intune** via the "Connect to Intune" button.
8. **Sign in again with Global Admin** when prompted.
9. **Accept all permissions** that are requested during the sign-in and consent flow.
10. Let the redirect **fully complete** before navigating away or closing the tab.
11. Return to the **My Companies** page and confirm the tenant is now marked as "Intune Verified."

</details>

***

#### **Quick Error Reference Table**

<table data-search="false"><thead><tr><th>Message or code in Pckgr</th><th>What it means</th><th>What to do</th></tr></thead><tbody><tr><td>Microsoft hiccup – please click Connect again (AADSTS650051)</td><td>A known Microsoft issue on first consent</td><td>Click Connect again (up to 3 times)</td></tr><tr><td>Blocked by your Conditional Access policy (AADSTS50097)</td><td>Your tenant requires a compliant or joined device</td><td>Connect from a compliant company device, or temporarily exclude the admin</td></tr><tr><td>Permission was not granted (access_denied)</td><td>Consent was cancelled or declined</td><td>Have a Global Administrator accept the permissions</td></tr><tr><td>Administrator approval required (AADSTS90094, AADSTS65001, AADSTS500202)</td><td>The signed-in account can't approve this connection</td><td>Have a Global Administrator connect</td></tr><tr><td>This tenant is already connected</td><td>The tenant is linked to another Pckgr company</td><td>Disconnect it from the other Pckgr account, then reconnect</td></tr><tr><td>Connection Failed</td><td>Sign-in worked but Pckgr couldn't finish connecting</td><td>Click Connect again, then contact support</td></tr><tr><td>Microsoft could not connect your tenant</td><td>Any other Microsoft error</td><td>Try again, then contact support with the error shown</td></tr></tbody></table>

***

#### **Microsoft hiccup – AADSTS650051**

**What you'll see:** "Microsoft hiccup – please click Connect again."

**Cause:** Microsoft sometimes rejects the first consent attempt for an app (the service principal already exists or is being created). This is a known Microsoft issue that affects many vendors. It is not caused by your configuration, and it usually works on the second or third try.

**How to fix it**

1. Click **Connect** again and repeat the Microsoft sign-in.
2. Don't refresh the page while "Testing Connection..." is showing.
3. If it still fails after 3 attempts, contact support and include the code **AADSTS650051**.

***

#### **Blocked by Conditional Access – AADSTS50097**

**What you'll see:** "Blocked by your Conditional Access policy", and the redirect URL contains `error=invalid_grant` and `AADSTS50097: Device authentication is required`.

**Cause:** A Microsoft Entra Conditional Access policy in your tenant requires the sign-in to come from a compliant device, or from an Entra joined or hybrid joined device. The admin connecting is on a device that doesn't meet this (for example a personal or non-compliant device), so Microsoft blocks the sign-in. The redirect is working correctly. The block is a tenant-level restriction, not an issue with Pckgr.

**How to fix it (choose one)**

* **Retry from a compliant company device**
  * The device should be Entra joined or hybrid joined.
  * The device should be marked compliant in Intune.
* **Temporarily exclude the admin from Conditional Access**
  1. Exclude the user from the relevant policy.
  2. Re-run the tenant connection.
  3. Re-enable the policy once connected.

**To confirm the cause**

1. Go to the Microsoft Entra Admin Center.
2. Open **Sign-in logs**.
3. Find the failed sign-in using the timestamp or correlation ID from the redirect URL.
4. Open the entry and review the **Conditional Access** tab to see which policy blocked the request.

***

#### **Permission was not granted – access\_denied**

**What you'll see:** "Permission was not granted", and the redirect URL contains `error=access_denied`.

**Cause:** The Microsoft consent screen was cancelled, closed, or declined, so Pckgr was never given its permissions.

**How to fix it**

1. Have a **Global Administrator** of the tenant sign in to Pckgr.
2. Click **Connect**.
3. Review the permissions on the Microsoft screen and click **Accept**.

***

#### **Administrator approval required – AADSTS90094, AADSTS65001, AADSTS500202**

**What you'll see:** "Administrator approval required."

**Cause:** The Microsoft account you signed in with isn't allowed to approve permissions for the whole organization. Your tenant may also require admin consent for all applications.

**How to fix it**

1. Ask a **Global Administrator** of your tenant to sign in to Pckgr.
2. Have them click **Connect** and accept the permissions.
3. If your organization uses an admin consent workflow, make sure the request has been approved.

***

#### **This tenant is already connected**

**What you'll see:** "This tenant is already connected."

**Cause:** Microsoft sign-in worked, but this Microsoft tenant is already linked to another company in Pckgr. A tenant can only be connected to one company at a time. This often happens when a tenant was connected under a different Pckgr account, such as a previous employee's or a trial account.

**How to fix it**

1. Sign in to the **other Pckgr account** that holds the connection.
2. Disconnect the tenant by deleting that company.
3. Return to your account and click **Connect** again.

If you can't access the other account, contact support and we can help move the connection.

***

#### **Connection Failed**

**What you'll see:** "Connection Failed", sometimes with an error message from Pckgr.

**Cause:** The Microsoft sign-in worked, but Pckgr couldn't finish connecting. This is often temporary.

**How to fix it**

1. Click **Connect** again.
2. If it fails again, contact support and include the error text shown in the message.

***

#### **Microsoft could not connect your tenant (other errors)**

**What you'll see:** "Microsoft could not connect your tenant", followed by the error code and description Microsoft returned.

**How to fix it**

1. Try again.
2. If it keeps failing, contact support and include the full message shown. It contains the error code and description we need to investigate.
3. You can also search for the `AADSTS` code in Microsoft's documentation to see what it means.

***

#### **Contacting support**

When you contact support about a connection problem, please include:

* Your company name in Pckgr
* The exact message shown, including any `AADSTS` code
* The approximate time of the attempt

Pckgr records each connection attempt, so we can look up what happened.

***

**Related sections in documentation**

* [Connecting Tenants](https://docs.intunepckgr.com/getting-started/setting-up-your-dashboard/connecting-tenants)
* [Managing Companies](https://docs.intunepckgr.com/getting-started/setting-up-your-dashboard/managing-companies)
* [Microsoft Single Sign-On](https://docs.intunepckgr.com/about-pckgr/security-of-pckgr/microsoft-single-sign-on)

***

### Chat Widget Not Showing

The Pckgr dashboard includes an integrated support chat powered by Gleap. If the chat widget is not appearing, it is almost always caused by a browser, network, or device restriction rather than an issue with Pckgr. Follow the steps below to identify and resolve the most common causes.

<details>

<summary>Widget Troublehooting Steps</summary>

#### Refresh the page

Refresh the page using **Ctrl + F5** (Windows) or **Cmd + Shift + R** (Mac).

If the chat still does not appear, continue to the next step.

#### Try an Incognito or Private window

Open your dashboard in an Incognito or Private browsing window.

If the chat appears, the issue is likely caused by your browser cache or a browser extension.

#### Disable browser extensions

Ad blockers and privacy extensions can prevent the chat widget from loading.

Temporarily disable extensions such as:

* uBlock Origin
* AdGuard
* Ghostery
* Privacy Badger
* DuckDuckGo Privacy Essentials
* Brave Shields

Refresh the page after disabling the extension.

#### Try another browser

Open your dashboard in Google Chrome or Microsoft Edge.

If the chat appears in another browser, the issue is related to your original browser configuration.

#### Try another network

If you are connected to a corporate or school network, your firewall or web filtering may be blocking the chat widget.

If possible, connect to a mobile hotspot or another network and reload the dashboard.

If the chat appears, please contact your IT administrator to allow the required Gleap services.

#### Check your browser privacy settings

Ensure your browser is not blocking:

* JavaScript
* Cookies
* Local Storage
* Third-party content

Strict privacy or tracking protection settings may prevent the chat widget from loading.

</details>

#### Related Sections in Documentation

For more context on the features and requirements of tenant integration, see:

* [**Microsoft Single Sign-On**](https://docs.intunepckgr.com/about-pckgr/security-of-pckgr/microsoft-single-sign-on.md)
* [**Managing Companies**](https://docs.intunepckgr.com/getting-started/setting-up-your-dashboard/managing-companies.md)
* [**Connecting Tenants**](https://docs.intunepckgr.com/getting-started/setting-up-your-dashboard/connecting-tenants.md)

These sections cover how permissions work, how companies and tenants are stored, and how to ensure a clean setup.
