<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Wisam Al-maghribi</title>
    <description>The latest articles on DEV Community by Wisam Al-maghribi (@wisam_almaghribi_1499704).</description>
    <link>https://dev.to/wisam_almaghribi_1499704</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4195724%2F0bf80074-0ad5-4372-9c82-47e512584003.jpg</url>
      <title>DEV Community: Wisam Al-maghribi</title>
      <link>https://dev.to/wisam_almaghribi_1499704</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/wisam_almaghribi_1499704"/>
    <language>en</language>
    <item>
      <title>Intune 0x87D1041C: record detection evidence before rebuilding</title>
      <dc:creator>Wisam Al-maghribi</dc:creator>
      <pubDate>Tue, 20 Oct 2026 08:36:34 +0000</pubDate>
      <link>https://dev.to/wisam_almaghribi_1499704/intune-0x87d1041c-record-detection-evidence-before-rebuilding-2bne</link>
      <guid>https://dev.to/wisam_almaghribi_1499704/intune-0x87d1041c-record-detection-evidence-before-rebuilding-2bne</guid>
      <description>&lt;p&gt;An Intune Win32 app can appear installed while its detection result says otherwise. Before rebuilding the package, make the disagreement explicit.&lt;/p&gt;

&lt;p&gt;This is documentation-based guidance, prepared with AI assistance. It is not a claim of testing in your environment. I run EndpointCraft; the free resource linked below is ours. No Microsoft affiliation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep three observations separate
&lt;/h2&gt;

&lt;p&gt;Start a small record for one pilot device:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Observation&lt;/th&gt;
&lt;th&gt;What to record&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Installer outcome&lt;/td&gt;
&lt;td&gt;Result, timestamp and intended execution context&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Installed state&lt;/td&gt;
&lt;td&gt;Expected app/version and artifact actually present&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Detection outcome&lt;/td&gt;
&lt;td&gt;Exact rule, context and result&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The point is to give the next test a clear question. If the expected artifact is absent, investigate installation. If it is present but the rule misses it, inspect detection and context. Do not treat a status label as proof of the expected installed version.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check the rule's contract
&lt;/h2&gt;

&lt;p&gt;For custom Win32 detection, Microsoft's documentation specifies a zero exit code and STDOUT output for a detected result. STDERR output can cause a not-installed result. Also check process architecture and the relevant file/registry view.&lt;/p&gt;

&lt;p&gt;Read the &lt;a href="https://learn.microsoft.com/en-us/intune/app-management/deployment/add-win32#step-4-detection-rules" rel="noopener noreferrer"&gt;official detection-rule requirements&lt;/a&gt; for the current behavior. Requirement scripts, detection scripts and remediation scripts serve different purposes; avoid transferring exit-code assumptions between them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Test the missing-app case too
&lt;/h2&gt;

&lt;p&gt;A rule that always reports installed can conceal a failed deployment. Keep a small matrix: clean install, already installed, uninstall and upgrade when in scope. Record what you changed, the observed result and the evidence needed for the next decision.&lt;/p&gt;

&lt;p&gt;Use a pilot and preserve your original evidence. Do not post raw customer logs, tenant identifiers, device names or credentials in public questions. A sanitized statement of expected versus observed state is a better starting point.&lt;/p&gt;

&lt;h2&gt;
  
  
  A free working record
&lt;/h2&gt;

&lt;p&gt;EndpointCraft's &lt;a href="https://endpointcraft-win32-resources.wisamomar.chatgpt.site/free-checklist/?campaign=dev_guide" rel="noopener noreferrer"&gt;standalone Win32 preflight checklist and blank evidence sheet&lt;/a&gt; are ungated downloads. No email signup is required. They do not install software or guarantee a rollout result, and they are not excerpts from the paid toolkit.&lt;/p&gt;

&lt;p&gt;What evidence do you wish came with every package handoff?&lt;/p&gt;

</description>
      <category>intune</category>
      <category>powershell</category>
    </item>
  </channel>
</rss>
