The MSDN docs say "if multiple licenses are purchased for the same app by using different Microsoft accounts, the licenses are returned in the following order of priority: Paid, Free, Unexpired Trial, Expired Trial."
My question is what am I supposed to do when multiple licenses are returned? Is it OK to always take the first license and verify that one, as every example I have found does? Iterate through all of them until I find a valid one? Iterate through all and reject if I find an invalid one?
It's confusing because licenses are really for a user but if the user has been assigned to a Trial license but not the Paid license why would the framework even return the Paid license?