locked
Expired Developer License message when user launch the Win 10 app RRS feed

  • Question

  • After few months of installation of a sideloaded app, user receives the error "Expired License - Your developer license has expired. To continue use this app, please renew your license.” message every time they open the Win 10 app on their tablets and the app didn’t open after closing the message.  

    It looks like the issue goes away by reinstalling the app using the same package -  which is not a feasible option since many users have installed the app and is in production.

    What could be the reason/resolution for this issue?


    Tuesday, April 9, 2019 11:22 AM

All replies

  • Hi ,

    Since the problem is more related to package your app, I'll help you to move this thread to the Publishing Windows Store App Forum. You could get more professional support there.

    Thank you for your patience.

    Best regards,

    Roy



    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.

    Wednesday, April 10, 2019 3:25 AM
  • Hi Neena,

    Did you enable the developer mode in your device? If you enable the developer mode for Windows 10, a developer license is no longer required for each device that you want to use to develop, install, or test your app. If you developer mode is not enabled, could you enable it to try again? You could see more details and the steps in Enable developer mode in Windows 10 part in here.

    Best regards

    Daisy  Tian


    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.

    Wednesday, April 10, 2019 8:21 AM
    Moderator
  • Hi Neena,

    Sideloading an app by using the appx package that is generated by default out of Visual Studio is only intended to be used for development and testing. It is not intended to be deployed to your production environment. To sideload your app widely through your organization you should consider using an Enterprise App management solution. If this is beyond the scope of what you want to do within your company you can also sideload the app. The key is that you need to sign the app with a certificate that you generate and then manage within your organization. This allows you to revoke and renew the certificate to allow you to manage the app within your org. See the link below to create a certificate that you can use to sign your app. 

    Deploy your app using the Microsoft Store for Business

    https://docs.microsoft.com/en-us/microsoft-store/

    Create a certificate for package signing

    https://docs.microsoft.com/en-us/windows/uwp/packaging/create-certificate-package-signing

    I hope this helps,

    James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Friday, April 12, 2019 12:02 AM
  • Hi James,

    As you mentioned, we have sideloaded the app and signed the app with a certificate that we have generated and is managed within our organization. The issue is that, the customer is facing the issue after few weeks/months of installation. And re-installing the app resolves the issue. If we install the app using the powershell cmd it expects the Developer mode to be turned on. And after the installation, the Developer mode is turned off - I hope this should not affect the app usage.


    -Neena

    Friday, April 12, 2019 6:26 AM
  • Hi Daisy,

    Yes, developer mode is enabled. This was turned on just to install the app (sideloaded) using the powershell command. the Developer mode is turned off after installation, user was able to use the app for few weeks/months. After that one day, when they open the app, they get this error:


    • Edited by Neena IS Friday, April 12, 2019 6:30 AM
    Friday, April 12, 2019 6:28 AM
  • Hi Neena,

    You should not be enabling developer mode. You should be turning on "Sideload apps" that is in the "for developers" section of the settings. If you are actually truing on "developer mode" then you are doing something incorrectly. 

    When you say "the powershell cmd" what does this mean? Remember you cannot use the powershell script that is generated when you build the package. Can you please clarify in detail what you mean by "the powershell cmd"?

    Also please confirm that you are taking these steps:

    To turn on sideloading for unmanaged devices

    1. Open Settings.

    2. Click Update & Security > For developers.

    3. On Use developer features, select Sideload apps.

    To import the security certificate

    1. Open the security certificate for the appx package, and select Install Certificate.

    2. On the Certificate Import Wizard, select Local Machine.

    3. Import the certificate to the Trusted Root Certification Authorities folder.

    Reference: https://docs.microsoft.com/en-us/windows/application-management/sideload-apps-in-windows-10

    Thanks,

    James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Monday, April 15, 2019 11:08 PM
  • Issue details:

    Remember you cannot use the powershell script that is generated when you build the package. Can you please clarify in detail what you mean by "the powershell cmd"? - Why do you say we cannot use the powershell script for installation. As mentioned https://docs.microsoft.com/en-us/windows/application-management/sideload-apps-in-windows-10 -

    Apps can be installed using powershell also.

    Monday, April 22, 2019 2:13 AM
  • You can use PowerShell to sideload apps. What you should not use is the PowerShell script generated by Visual Studio when you build your app. This script is specifically for testing in developer mode. Again, you should be doing what I pointed out in my previous post and select "sideload apps". 

    The key here is that you:

    1. Create your own certificate (don't use the one generated by Visual Studio)
    2. You need to sign the app using this new certificate
    3. You need to import the certificate on the end users machine
    4. You can then distribute and install the app in whatever manner works for you

    I hope this helps,

    James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Monday, April 22, 2019 5:11 PM