Questions tagged [lma]

License Management App (LMA) for managing App Exchange packages deployed to subscribers.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Other user not able to login to subscriber org in LMA

We have two users which have same profile and permission sets assigned. But one user sees links to organisation names on subscribers tab for viewing detail pages while other one is not able to see the ...
user avatar
  • 332
0 votes
1 answer
55 views

How to prevent the License Management App (LMA) from creating Lead records when a package is installed via an installation URL?

Is it possible to prevent Lead records from being created by the License Management App (LMA) when a package is installed via an installation URL? If package installation occurs via an installation ...
user avatar
1 vote
1 answer
42 views

Login to Subscriber Org doesn't work

Even though I have granted login access in Subscriber org to my LMO, I can't login in LMO to the Subscriber Org. What may be the reason for this?
user avatar
  • 13.3k
1 vote
1 answer
67 views

Is there any way to set feature parameters for beta versions which did not pass security review?

Is there any way set feature parameters for package beta versions which did not pass security review? Assuming you are going to release a new version of package which will include feature parameters. ...
user avatar
  • 13.3k
0 votes
0 answers
70 views

How we can automate the license updates?

We have an app published on AppExchange and we receive multiple leads daily. Some leads installs the app with a trail license issued to them and we can see that in our org through LMA app. When a Lead ...
user avatar
0 votes
1 answer
46 views

Granting Account Login Access using Apex

Is there a way to Grant Account Login Acces using Apex? Not through the UI as shown in the screenshot from below. Maybe something using the Tooling API? Or Metadata API? Thank you in advance!
user avatar
2 votes
0 answers
45 views

Fail to make DML or send emails from License Trigger

We are having a problem when the LMA process updates a license that we are not able to figure out. We have an after update/insert trigger on sfLma__License__c which among other things updates Accounts ...
user avatar
13 votes
2 answers
1k views

Extension packages & Licence Management in 2GP

In the first generation of Managed Packages (1GP), you are able to create Managed Extension packages that technically required a base package. Both could be distributed and licensed using the same ISV ...
user avatar
3 votes
0 answers
54 views

Feature Management Testing for Beta Package

We have used feature management for one of the packages. We would like to test the beta package, but we can't see the option to set Feature Management parameters in License Management Org? When we try ...
user avatar
  • 2,232
0 votes
1 answer
38 views

Used license field is not getting updated in LMA

I want to track the used licenses in LMA and I believe that is handled by LMA itself. But somehow my Used Licenses field is not getting updated in LMA. Now, as per Salesforce documentation this field ...
user avatar
  • 197
2 votes
0 answers
141 views

Adding Packages, Version and Licenses to License Management App (LMA) in a Scratch Org / Sandbox

I have installed the License Management Application (LMA) into a Scratch Org to enable us to build a data model that relates to the License and Package and Package Version objects. ISVforce Guide: ...
user avatar
  • 8,262
4 votes
0 answers
31 views

Control Number of Managed Package Custom Object records that can be created using Licensing

I'd like to control the number of namespace__Team__c records that can be created using either the LMA or FMA for our Managed Packaging. We could write a Trigger to control/limit the number of records ...
user avatar
  • 8,262
3 votes
0 answers
50 views

Does the LMA not allow logging into subscribers of beta packages?

We have a beta package installed in a subscriber org. From the sub org we have granted login access to our company. But from the LMA, under Subscribers, under the sub org, under Login Access Granted ...
user avatar
  • 3,766
1 vote
1 answer
215 views

LMA - unable to login on Subscriber org

Are you aware of any issue or new restriction introduced recently to log on Subscriber? I granted access to our company, logged out, and then logged in our LMA, then I opened the Subscriber using the ...
user avatar
0 votes
0 answers
49 views

Different license types for AppExchange app

We want to sell 2 different license types for our AppExchange app: Admin and User. The difference is that only an Admin can make changes to the custom metadata types that define the app configuration. ...
user avatar
  • 3,766
4 votes
1 answer
108 views

License Management Application (LMA) in scratch org

We would like to do some sort of exploration of License Management Application, i.e. play with it, look at new objects added to SF schema, maybe write some triggers etc. Is it possible to spin up a ...
user avatar
  • 2,734
3 votes
0 answers
116 views

How to use the Feature Management App (FMA) to grant access for a defined number of users?

The FMA allows named booleans, integers and dates to be set by the creator of a managed package so they can turn package features on and off per customer. The boolean option is pretty obvious: every ...
user avatar
  • 130k
10 votes
2 answers
340 views

Use FMA Features for per-user licensing

As I understand the Salesforce FMA, you can enable certain Boolean toggles per LMA license. But those licences are per org, either: As Site-wide license for all users of a subscriber org An amount of ...
user avatar
3 votes
1 answer
331 views

How do I access the full debug log for an managed email service Messaging.InboundEmailHandler?

I have a Messaging.InboundEmailHandler class that is packaged and distributed as part of a managed package. It is then configured against an Email Service in subscriber orgs. How can I access the ...
user avatar
3 votes
1 answer
77 views

Site-wide licence for QA org is reset in LMA on package upgrade

For each of our customer apps, we create an Enterprise org for acceptance testing. We always create them using our ISV Environment Hub. We now struggle with doing testing in one of those QA orgs as ...
user avatar
1 vote
0 answers
32 views

Adjusting a Customer's AppExchange Subscription

We offer a monthly and annual subscription to our AppExchange package, and we use LMA and CMA along with Stripe to manage and see all the subscribers and their payments. A situation came up where a ...
user avatar
  • 4,702
1 vote
1 answer
220 views

Managed Package: Subscriber Support via LMA - Access to protected settings and custom metadata

Let's say, we had LMA (License Managing Application) configured for our managed package and subscriber granted us permission to log in on their behalf via Subscriber Support tab. If we logged in, ...
user avatar
  • 2,734
1 vote
1 answer
160 views

LMA - install on Partner Business Org or our Production org?

I've done a lot of reading on LMA (nice overview here), and it's an app that can technically be installed on any org, although docs and this trailhead module generally suggest to install it on a ...
user avatar
  • 4,702
1 vote
0 answers
28 views

Validate LMA/FMA Before Publishing To AppExchange

Is it possible to validate that your LMA/FMA code functions correctly before you ever upload a package to the AppExchange? I have an existing, released managed package that I need to try using LMA/...
user avatar
0 votes
2 answers
181 views

Get NamespacePrefix for a given Package Id (in org with LMA app)

Is there a way to get the Namespace Prefix of Managed Package where I just have the Id of? Maybe it is helpful that my code sits in the same org as the LMA app in with its sfLma__Package__c objects. ...
user avatar
0 votes
2 answers
217 views

Minimal Salesforce License to use LMA and Subscriber Support

I couldn't find any information on what's the minimum Salesforce license to grant a support person permissions to do Subscriber Support in the LMA. Can someone please point me to such information?
user avatar
2 votes
0 answers
314 views

How can I get Debug Logs for Apex code in my Managed Package which is invoked via Execute Anonymous on the Subscriber Org?

I have installed a Managed Package and connected it via the LMA. The subscriber org shows up under the Subscribers-Tab. An user on the subscriber org has granted me (as package provider) login access. ...
user avatar
  • 33.6k
1 vote
0 answers
29 views

LMA count not being updated by CMA

One of my clients purchased an additional license 4 days ago but it is still not available in the LMA. In the CMA correctly shows the license count, but I can't figure out how to get the LMA to update....
user avatar
  • 179
0 votes
1 answer
177 views

How to restrict Sandbox LMA License to match Production License Status/Count?

How to restrict Sandbox LMA License to match Production License Status/Count? If your AppExchange package includes a free trial, in Production the app installs well with TRIAL as the status. However, ...
user avatar
  • 1,099
2 votes
1 answer
246 views

FMA parameter update in LMO org using apex

We recently started using FMA app to manage some features in our managed package app. One of the requirement we have right now is on License create/update we need to update one of our FMA parameter (...
user avatar
1 vote
0 answers
93 views

Delisting the app from AppExchange but keeping LMA features

We have a package which will be delisted from AppExchange for a number of reasons (our decision). I would like to know if any one has similar experience and would this process influence the LMA Login ...
user avatar
  • 672
1 vote
1 answer
53 views

When do we charge our customers in CMA and LMA app?

When our subscribe install our package ,CMA and LMA provides us a feature where we let user pay after installation.What does after installation means here?
user avatar
1 vote
1 answer
27 views

Are installHandlers executed after the LMA creates the license?

I have an app on the appexchange, when a subscriber installs the app, it will run an install handler process on his org. LMA will also create a license for the subscriber on my org. My question is: ...
user avatar
0 votes
1 answer
115 views

Do installing a Managed Package (listed in AppExchange) via Salesforce CLI, create a License & Lead in package developer's LMA org?

Can anyone confirm if this is the case. Though I don't really think this should be allowed, but I'm suspecting random licenses occurring and it's a hunch that they are being generated because it is ...
user avatar
  • 5,606
2 votes
1 answer
239 views

What happens when I reduce Seats for a license in LMA

We have managed packaged App in appexchange and we use 'Seats' field to assign licenses to our Clients in LMO. My question is what happens when someone is assigned 5 seats and they are using all 5 but ...
user avatar
0 votes
2 answers
2k views

Any way to debug Process Builder flows?

We have two flows that were built using process builder. One runs when something changes in the License via the LMA app, so when there is a change in the object sfLma__License__c (change of version, ...
user avatar
1 vote
1 answer
257 views

FMA Feature parameter records do not show up for every license record in LMA

We just released a new version of our appexchange app to set of customers. This new version includes FMA (Feature Management App). The issue is some org's licenses (in LMA) do not show Feature ...
user avatar
3 votes
1 answer
2k views

Can't see managed package code/logs when logged into subscriber org with LMA

Based on the Troubleshooting in Subscriber Organizations guide, it seems that when a subscriber has granted you access to their Salesforce organization, you should be able to see obfuscated code and ...
user avatar
0 votes
1 answer
55 views

In LMA is there a field or something that marks push upgrades or user upgrades?

Is there a way I can query the LMA objects to find if a package version was upgraded via AppExchange or if it was a push upgrade? Which object/field? The idea is to have a trigger so if it was a push ...
user avatar
1 vote
1 answer
83 views

LMA - notification on licence change

I dont know if this is the right place to post such question, but after endless hours googling, i didnt find the answer to this. I have this usecase: A org buy our application via AppExchange and it ...
user avatar
  • 27
8 votes
2 answers
1k views

Alter Lead Assignment Notification when lead created by the LMA (License Management App)

I feel defeated asking this but I am stumped..... Ok so I am trying to figure out how to route or in any way affect the Lead Assignment notification when the lead is created by the LAM (License ...
user avatar
  • 53.1k
2 votes
0 answers
35 views

How to access Base package code with Extension packages without running into licensing issues

I have couple of question regarding Extension packages and love to hear some clarification/answers: We want to release an extension package to our Base package (which is already in the appexchange). ...
user avatar
1 vote
1 answer
95 views

Don’t install the LMA in the Developer Edition org where you created a managed package

I have developed and uploaded managed package from my developer edition org. I have created listing in my partner account. I have set the price etc. To link my app in LMA I am following this link ...
user avatar
  • 227
1 vote
0 answers
116 views

Managed package not listed on appexchange

We have created a managed package that is going through security review and is not yet listed on appexchange. We have a potential customer who wants to try out our app. We are unsure as to how to go ...
user avatar
  • 235
3 votes
0 answers
305 views

Granting Login Access via Licence Management App by Users

We are an ISV partner and our customers use our package 24/5 on for a mission critical purpose. We are using LMA to support them using "Grant Login Access" feature. The problem we are dealing with is ...
user avatar
  • 2,122
3 votes
1 answer
79 views

Managed package license timeline

We have a managed package ready to go in for security review . We have yet to fully understand the LMA org and it's functionalities. I wanted to know can we associate licensing for the managed ...
user avatar
2 votes
2 answers
1k views

Managed package license checks for users [duplicate]

I want to enable licensing for my managed package and had few questions: The licensing would be on a per user basis. My managed package runs a scheduled job in system context and performs some ...
user avatar
  • 235
1 vote
1 answer
73 views

Managed package licensing

I have a managed package that would be used by System administrators and Sales Managers. However, Sales Reps and AEs would indirectly be referenced by the app for reading attributes off of them. I ...
user avatar
  • 295
1 vote
0 answers
24 views

Is it possible to restrict the number of users per ORG when we set the app expiration date in LMA?

Is it possible to restrict the number of users per ORG when we set the app expiration date in LMA (License managed Appexchange)?
user avatar
  • 11
12 votes
1 answer
111 views

Apex performance drops between Anonymous Apex and Trigger. Then further when using LMA login

Short version using approximate Apex CPU timings. Anonymous Apex can run a loop over 200 opportunities in ~10ms. The same loop in a trigger takes ~80ms. If you use an LMA login the trigger loop ...
user avatar