none
App update failed certification - App Manifest RRS feed

  • Question

  • I have submitted an update to my app, without changing my appmanifest file. However the application failed certification.

    I get the following error

    • The Application cannot include an ApplicationContentUriRule with 'all' or 'allowForWebOnly' WindowsRuntimeAccess while any of the following capabilities are enabled: enterpriseAuthentication, sharedUserCertificates, musicLibrary, picturesLibrary, videosLibrary, removableStorage, documentLibrary, internetClientServer, privateNetworkClientServer.

    My appmanifest file containes the following ApplicationContentUriRules

    <uap:ApplicationContentUriRules>
            <uap:Rule Match="ms-appx-web:///" Type="include" WindowsRuntimeAccess="all" />
            <uap:Rule Match="http://*.xxxxx.co.uk" Type="include" WindowsRuntimeAccess="all" />
            <uap:Rule Match="https://*.xxxxx.co.uk" Type="include" WindowsRuntimeAccess="all" />
            <uap:Rule Match="http://*.xxxxx.com" Type="include" WindowsRuntimeAccess="all" />
            <uap:Rule Match="https://*.xxxxx.com" Type="include" WindowsRuntimeAccess="all" />
            <uap:Rule Match="http://*.google.com" Type="include" WindowsRuntimeAccess="all" />
            <uap:Rule Match="https://*.google.com" Type="include" WindowsRuntimeAccess="all" />
          </uap:ApplicationContentUriRules>

    And the following Capabilities

    <Capabilities>
        <Capability Name="internetClient" />
        <Capability Name="internetClientServer" />
        <Capability Name="privateNetworkClientServer" />
        <uap:Capability Name="appointments" />
        <uap:Capability Name="contacts" />
        <uap3:Capability Name="userNotificationListener" />
        <uap:Capability Name="userAccountInformation" />
        <uap:Capability Name="phoneCall" />
        <uap:Capability Name="videosLibrary" />
        <uap:Capability Name="picturesLibrary" />
        <uap3:Capability Name="remoteSystem" />
        <uap3:Capability Name="backgroundMediaPlayback" />
        <DeviceCapability Name="webcam" />
        <DeviceCapability Name="location" />
        <DeviceCapability Name="microphone" />
      </Capabilities>

    Any idea what is going on? 

    If i remove the UriRules, the application wont run any more. 

    I am stumped as this was working on my last update, and no changes have been made to the manifest

    • Moved by Breeze Liu Thursday, September 28, 2017 2:23 AM publishing app issue
    Wednesday, September 27, 2017 2:25 PM

All replies

  • Hi Pooshonk,

    If your app manifest declares remote URIs to have access to WinRT, the Windows Store will not accept the apps having those capabilities declared.

    You could check the work around for library and network restrictions in this article: https://github.com/apache/cordova-windows/blob/master/cordova-windows10.md

    Before upload your package to Dev Center, you may firstly load WACK tool to test it.

    If you still have this issue, please create a support ticket through your developer account so that Dev Center support could review your specific submission.

    Please select Application as your Issue Type and click "Submit an incident".

    Thank you.

    Best regards,

    Mattew Wu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, September 28, 2017 7:12 AM
    Moderator