-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addin installation failed after updating with code for mobile integration #5380
Comments
Hi @DunhamGitHub, Thanks for reporting this. @samantharamon could you please help investigate? |
Hi @DunhamGitHub, Thank you for reaching out. Your add-in's manifest needs to specify the VersionOverrides 1.1 element to use <MobileFormFactor>. While it's mentioned in Add support for add-in commands in Outlook on mobile devices, I understand that it isn't immediately obvious in the code snippet, so I created PR OfficeDev/office-js-docs-pr#5014 to clarify this. Here's an updated version of your snippet. <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
...
<MobileFormFactor>
<ExtensionPoint xsi:type="MobileMessageReadCommandSurface">
<Group id="mobileMsgRead">
<Label resid="GroupLabel" /> <!-- I updated this to match the label ID in the Resources section. -->
<Control xsi:type="MobileButton" id="msgReadCreateSO">
<Label resid="ButtonCreateSO.Label" />
<Icon xsi:type="bt:MobileIconList">
<bt:Image size="25" scale="1" resid="ribon-icon-25" />
<bt:Image size="25" scale="2" resid="ribon-icon-25" />
<bt:Image size="25" scale="3" resid="ribon-icon-25" />
<bt:Image size="32" scale="1" resid="ribon-icon-32" />
<bt:Image size="32" scale="2" resid="ribon-icon-32" />
<bt:Image size="32" scale="3" resid="ribon-icon-32" />
<bt:Image size="48" scale="1" resid="ribon-icon-48" />
<bt:Image size="48" scale="2" resid="ribon-icon-48" />
<bt:Image size="48" scale="3" resid="ribon-icon-48" />
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="readTaskPaneUrlMobile" />
</Action>
</Control>
</Group>
</ExtensionPoint>
</MobileFormFactor>
...
</VersionOverrides>
</VersionOverrides> I also noted that the Let me know if you still continue to run into issues when sideloading. |
While the dialog that appears when attempting to sideload the add-in doesn't provide additional feedback, you can use the options in Validate an Office Add-in's manifest to verify your manifest.
That's correct. For more information, see VersionOverrides 1.0 element in the manifest file for a mail add-in.
Integrating the sample code I provided with the rest of your manifest, I'm able to install the add-in. If you haven't yet, try closing your current browser window and opening a new window before attempting to install your add-in. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OfficeApp
xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0"
xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0"
xsi:type="MailApp">
<Id>ed1c6f1c-d94f-4aa3-8032-0df4f0736201</Id>
<Version>2023.11.27.21</Version>
<ProviderName>Digital WorkMate DWM</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="Digital WorkMate DWM"/>
<Description DefaultValue="Boost your productivity"/>
<IconUrl DefaultValue="https://www.digitalworkmate.com/icons/icon-160.png"/>
<HighResolutionIconUrl DefaultValue="https://www.digitalworkmate.com/icons/icon-512.png"/>
<SupportUrl DefaultValue="https://www.digitalworkmate.info"/>
<AppDomains>
<AppDomain>www.digitalworkmate.com</AppDomain>
</AppDomains>
<Hosts>
<Host Name="Mailbox"/>
</Hosts>
<Requirements>
<Sets>
<Set Name="Mailbox" MinVersion="1.1"/>
</Sets>
</Requirements>
<FormSettings>
<Form xsi:type="ItemRead">
<DesktopSettings>
<SourceLocation DefaultValue="https://www.digitalworkmate.com/outlook/index.html"/>
<RequestedHeight>450</RequestedHeight>
</DesktopSettings>
</Form>
</FormSettings>
<Permissions>ReadWriteItem</Permissions>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>
</Rule>
<DisableEntityHighlighting>false</DisableEntityHighlighting>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
<Requirements>
<bt:Sets DefaultMinVersion="1.3">
<bt:Set Name="Mailbox"/>
</bt:Sets>
</Requirements>
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<FunctionFile resid="Commands.Url"/>
<ExtensionPoint xsi:type="MessageReadCommandSurface">
<OfficeTab id="TabDefault">
<Group id="msgReadGroup">
<Label resid="GroupLabel"/>
<Control xsi:type="Button" id="msgReadCreateSO">
<Label resid="ButtonCreateSO.Label"/>
<Supertip>
<Title resid="ButtonCreateSO.Label"/>
<Description resid="ButtonCreateSO.Tooltip"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon"/>
<bt:Image size="32" resid="Icon"/>
<bt:Image size="80" resid="Icon"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="ButtonCreateSO.Url"/>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
<MobileFormFactor>
<ExtensionPoint xsi:type="MobileMessageReadCommandSurface">
<Group id="mobileMsgRead">
<Label resid="GroupLabel" /> <!-- I updated this to match the label ID in the Resources section. -->
<Control xsi:type="MobileButton" id="msgReadCreateSO">
<Label resid="ButtonCreateSO.Label" />
<Icon xsi:type="bt:MobileIconList">
<bt:Image size="25" scale="1" resid="Icon" />
<bt:Image size="25" scale="2" resid="Icon" />
<bt:Image size="25" scale="3" resid="Icon" />
<bt:Image size="32" scale="1" resid="Icon" />
<bt:Image size="32" scale="2" resid="Icon" />
<bt:Image size="32" scale="3" resid="Icon" />
<bt:Image size="48" scale="1" resid="Icon" />
<bt:Image size="48" scale="2" resid="Icon" />
<bt:Image size="48" scale="3" resid="Icon" />
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="ButtonCreateSO.Url"/>
</Action>
</Control>
</Group>
</ExtensionPoint>
</MobileFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="Icon" DefaultValue="https://www.digitalworkmate.com/icons/icon-512.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="ButtonCreateSO.Url" DefaultValue="https://www.digitalworkmate.com/Outlook/EMail.Info"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="GroupLabel" DefaultValue="Digital WorkMate"/>
<bt:String id="ButtonCreateSO.Label" DefaultValue="Import E-mail"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="ButtonCreateSO.Tooltip" DefaultValue="Create a sales order from e-mail"/>
</bt:LongStrings>
</Resources>
</VersionOverrides>
</VersionOverrides>
</OfficeApp> |
I'm able to see the Digital WorkMate add-in in Outlook on iOS and on Android. If you haven't already done so, please try restarting the Outlook app on your device. If you have multiple accounts, please make sure that you're also accessing the add-ins for the account to which the add-in was sideloaded. |
Here are some similar issues that might help you. Please check if they can solve your problem. Possible solution (Extracted from existing issue, might be incorrect; please verify carefully) The issue with the Add-in manifest validation failure on Microsoft 365 admin center with the Extension point MobileLogEventAppointmentAttendee has been fixed. It is now possible to install the manifest through the M365 Admin Center. Please ensure that your manifest is updated and try again. Reference: |
Thanks for the update, @DunhamGitHub. @exextoc could you please investigate this further? |
@DunhamGitHub
|
Hi
![]() |
@DunhamGitHub To enable 'Optional Connected Experiences' on an iOS device, go to Settings -> Privacy. Turn ON this setting, then relaunch the Outlook app and check if the add-ins show up If add-ins are still not available in Store, please gather the logs from iOS device(where the add-in is not working) and Outlook Web(where the add-in is working) by following the steps here |
That works! The Addin does show up on Outlook iOS. ![]() |
How to debug not being able to load Outlook Addin with mobile code (desktop version can be added)? I do not see any feedback in the Console!?
Sideloading my (demo) DESKTOP .xml Manifest works, after updating it for MOBILE it does not! (Manifest files attached as reference)
outlook-manifest_mobile.zip
I have updated it with the snipped from: https://github.com/OfficeDev/office-js-docs-pr/blob/main/docs/outlook/add-mobile-support.md.
When I am trying to add it (in Outlook Web) I get an error,
How to determine the reason for failure?

The text was updated successfully, but these errors were encountered: