Jean-Sébastien DUCHENE Blog's

Actualité, Tips, Articles sur l'ensemble des Technologies Microsoft (Microsoft Intune, ConfigMgr, Microsoft Defender, Microsoft Purview, Microsoft Azure, Windows...)

Voici un problème que vous pouvez rencontrer lors du déploiement d’une application métier (LOB) pour Windows Phone via son XAP et System Center 2012 R2 Configuration Manager. Vous êtes dans le scénario suivant :

  • Vous importez le XAP comme une application
  • Vous distribuez le contenu sur le point de distribution manage.microsoft.com
  • Vous déployez l’application sur une collection d’utilisateur comme optionnelle (par exemple)
  • Sur le périphérique Windows Phone, vous ouvrez le portail d’entreprise.
  • Vous lancez l’installation de l’application et vous recevez un message d’erreur : « L’application ne peut être installée sur ce périphérique »

En envoyant les journaux, vous pouvez observer les erreurs ci-dessous :

2014-04-29T08:38:14.8912024Z INFO Event None          0 BEGIN_METHOD : [<InstallApplicationAsync>d__14.MoveNext]
2014-04-29T08:38:14.8942256Z INFO Event None          0 BEGIN_METHOD : [<InstallIntuneApplication>d__1a.MoveNext]
2014-04-29T08:38:14.8962395Z INFO Start None       4400 GET request to https://msub05.manage.microsoft.com/IWS/Devices. Accept: application/json; odata=fullmetadata, ContentType: , ClientRequestId: 3c1c02da-9e31-4520-9574-965415b80eda
2014-04-29T08:38:15.6183102Z INFO End   None       4400 GET request to https://msub05.manage.microsoft.com/IWS/Devices. Status:200 (OK). Cache-Control: max-age=600
2014-04-29T08:38:15.6907921Z INFO Start None       4400 GET request to https://msub05.manage.microsoft.com/IWS/Applications(GuidKey=guid'bbfaf086-2a65-445d-95ac-7a4e2db85360',StringKey='Win8Phone')/ApplicationState. Accept: application/json; odata=fullmetadata, ContentType: , ClientRequestId: 2508294a-961f-4ddd-9341-ee9022a9074d
2014-04-29T08:38:16.1301160Z INFO End   None       4400 GET request to https://msub05.manage.microsoft.com/IWS/Applications(GuidKey=guid'bbfaf086-2a65-445d-95ac-7a4e2db85360',StringKey='Win8Phone')/ApplicationState. Status:200 (OK). Cache-Control: max-age=30
2014-04-29T08:38:16.1617653Z INFO Start None       4400 GET request to https://msub05.manage.microsoft.com/IWS/Devices. Accept: application/json; odata=fullmetadata, ContentType: , ClientRequestId: c65162d5-6562-4e38-941e-3e9619c6c53d
2014-04-29T08:38:16.5850632Z INFO End   None       4400 GET request to https://msub05.manage.microsoft.com/IWS/Devices. Status:200 (OK). Cache-Control: max-age=600
2014-04-29T08:38:16.6445788Z INFO Start None       4400 GET request to https://msub05.manage.microsoft.com/IWS/Applications(GuidKey=guid'bbfaf086-2a65-445d-95ac-7a4e2db85360',StringKey='Win8Phone')/ApplicationState. Accept: application/json; odata=fullmetadata, ContentType: , ClientRequestId: 149160fc-3203-418f-8e99-19d7e6cfd5e1
2014-04-29T08:38:16.9630666Z INFO End   None       4400 GET request to https://msub05.manage.microsoft.com/IWS/Applications(GuidKey=guid'bbfaf086-2a65-445d-95ac-7a4e2db85360',StringKey='Win8Phone')/ApplicationState. Status:200 (OK). Cache-Control: max-age=30
2014-04-29T08:38:16.9660890Z VERB Event None       4500 Setting message body to '' for request to https://msub05.manage.microsoft.com/IWS/Devices(guid'3310d423-f0c7-4b6a-bf24-f86361a8d3fc')/Applications(GuidKey=guid'bbfaf086-2a65-445d-95ac-7a4e2db85360',StringKey='Modern')/Install
2014-04-29T08:38:16.9670942Z INFO Start None       4400 POST request to https://msub05.manage.microsoft.com/IWS/Devices(guid'3310d423-f0c7-4b6a-bf24-f86361a8d3fc')/Applications(GuidKey=guid'bbfaf086-2a65-445d-95ac-7a4e2db85360',StringKey='Modern')/Install. Accept: , ContentType: application/json, ClientRequestId: 741fa613-3913-4890-b6b3-2fe625930837
2014-04-29T08:38:17.4872092Z INFO End   None       4400 POST request to https://msub05.manage.microsoft.com/IWS/Devices(guid'3310d423-f0c7-4b6a-bf24-f86361a8d3fc')/Applications(GuidKey=guid'bbfaf086-2a65-445d-95ac-7a4e2db85360',StringKey='Modern')/Install. Status:204 (No Content). Cache-Control: max-age=
2014-04-29T08:38:17.4882191Z INFO Start None       4400 GET request to https://msub05.manage.microsoft.com/IWS/Applications(GuidKey=guid'bbfaf086-2a65-445d-95ac-7a4e2db85360',StringKey='Win8Phone')/ApplicationState. Accept: application/json; odata=fullmetadata, ContentType: , ClientRequestId: 3f3dacf8-7091-4ef5-8e74-0d227d5e193a
2014-04-29T08:38:17.8213501Z INFO End   None       4400 GET request to https://msub05.manage.microsoft.com/IWS/Applications(GuidKey=guid'bbfaf086-2a65-445d-95ac-7a4e2db85360',StringKey='Win8Phone')/ApplicationState. Status:200 (OK). Cache-Control: max-age=30
2014-04-29T08:38:17.8324327Z INFO Event None          0 Requesting application [bbfaf086-2a65-445d-95ac-7a4e2db85360] from the service..
2014-04-29T08:38:17.8324327Z INFO Event None          0 Retrieving binary download information for application [bbfaf086-2a65-445d-95ac-7a4e2db85360].
2014-04-29T08:38:17.8334459Z INFO Start None       4400 GET request to https://msub05.manage.microsoft.com/IWS/ContentMetadata(guid'a0b619d5-e28e-44af-b8f0-53a6ee420245'). Accept: application/json; odata=fullmetadata, ContentType: , ClientRequestId: 41f110da-a869-484b-a525-d2bf8c9bdf17
2014-04-29T08:38:18.0001772Z INFO End   None       4400 GET request to https://msub05.manage.microsoft.com/IWS/ContentMetadata(guid'a0b619d5-e28e-44af-b8f0-53a6ee420245'). Status:200 (OK). Cache-Control: max-age=30
2014-04-29T08:38:18.0124778Z INFO Event None          0 BEGIN_METHOD : [ApplicationDetailsViewModel.installworker_RunWorkerCompleted]
2014-04-29T08:38:18.0315266Z INFO Event None          0 BEGIN_METHOD : [WindowsPhone8Platform.InstallApplication]
2014-04-29T08:38:18.0466266Z INFO Event None          0 END_METHOD
2014-04-29T08:38:18.0466266Z INFO Event None          0 Launched installation for [bbfaf086-2a65-445d-95ac-7a4e2db85360], installation ID [44].
2014-04-29T08:38:18.0476352Z INFO Event None          0 END_METHOD
2014-04-29T08:38:18.0476352Z INFO Event None          0 END_METHOD
2014-04-29T08:38:21.0568120Z INFO Event None          0 BEGIN_METHOD : [WindowsPhone8Platform.InstallProgress]
2014-04-29T08:38:21.0568120Z INFO Event None          0 InstallProgress event: Progress = [10], Status = [Started].
2014-04-29T08:38:21.0598320Z INFO Event None          0 END_METHOD
2014-04-29T08:38:21.0608395Z INFO Event None          0 InstallHandler.InstallProgress progress [10], message [Started], for application [bbfaf086-2a65-445d-95ac-7a4e2db85360].
2014-04-29T08:38:21.0608395Z INFO Event None          0 OnInstallProgress progress [10], message [Started], Application [bbfaf086-2a65-445d-95ac-7a4e2db85360]
2014-04-29T08:38:24.0671782Z INFO Event None          0 BEGIN_METHOD : [WindowsPhone8Platform.InstallProgress]
2014-04-29T08:38:24.0681872Z INFO Event None          0 InstallProgress event: Progress = [100], Status = [Started].
2014-04-29T08:38:24.0994049Z INFO Event None          0 END_METHOD
2014-04-29T08:38:24.1004121Z INFO Event None          0 BEGIN_METHOD : [WindowsPhone8Platform.InstallCompleted]
2014-04-29T08:38:24.1004121Z INFO Event None          0 InstallHandler.InstallProgress progress [100], message [Started], for application [bbfaf086-2a65-445d-95ac-7a4e2db85360].
2014-04-29T08:38:24.1014166Z INFO Event None          0 OnInstallProgress progress [100], message [Started], Application [bbfaf086-2a65-445d-95ac-7a4e2db85360]
2014-04-29T08:38:24.1014166Z INFO Event None          0 InstallCompleted event: Status = [Error].
2014-04-29T08:38:24.1024222Z INFO Event None          0 Error:System.Exception: Exception from HRESULT: 0x81030110
2014-04-29T08:38:24.1024222Z INFO Event None          0 Error code: -2130509552
2014-04-29T08:38:24.1034304Z INFO Event None          0 The exception is null
2014-04-29T08:38:24.1034304Z INFO Event None          0 END_METHOD
2014-04-29T08:38:24.1185384Z INFO Event None          0 InstallHandler.InstallComplete result [Error] for application [bbfaf086-2a65-445d-95ac-7a4e2db85360].
2014-04-29T08:38:24.1195475Z INFO Event None          0 OnInstallComplete result [Error] for application [bbfaf086-2a65-445d-95ac-7a4e2db85360]
2014-04-29T08:38:24.1215619Z INFO Event None          0 Error:System.Exception: Exception from HRESULT: 0x81030110
2014-04-29T08:38:24.1215619Z INFO Event None          0 Error code: -2130509552
2014-04-29T08:38:24.1215619Z INFO Event None          0 The exception is null

 

Dans cette situation, vous êtes peut être dans un des scénarios suivants :

  • Le certificat de signature de code spécifié est expiré
  • L’application que vous venez de pousser a été signée par un certificat expiré

Vous devez donc soit spécifier un certificat valide ou une application signée avec un certificat valide. 

Facebook Like