
DanielB.03232 (Customer) asked a question.
My organization doesn't keep a bundle of extra licenses around for some of our applications. What happens if provisioning is setup for an application and there are no additional licenses available? Will I be given prompts to approve more licenses or do I need to go into the application and obtain the licenses first?

When you provision a user to an app, many (not all) will allow you to assign licenses for the user. This is the case with Office 365, G Suite, and Salesforce provisioning. The way provisioning works is Okta sends an API call to the service provider's API with a request to update the user's licenses. If the available licenses have been exceeded, then the remaining experience is determined by the service provider side. So it really depends on the app.
Having worked with Office 365, G Suite, and Salesforce, I know that they will reject the request and say you don't have enough licenses. What that would look like in Okta is there would be a profile push showing in the System Log, it would fail, a task would show up in your Okta admin dashboard, and the task would state there was a failed profile push and contain the response received from the service provider, usually something like "insufficient licenses" and maybe even an error code. But keep in mind, Okta is just showing the response from the service provider. To Okta, a license is just another attribute in the app profile. Okta doesn't have any special awareness about licenses in apps.
At that point, you would need to go to the service provider and acquire additional licenses. Currently, you cannot purchase licenses from service provider through Okta. After you acquire additional licenses, you can then retry the task and it would likely go through.