web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Self service licenses
Power Apps
Unanswered

Self service licenses

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
I recently cleared the Self-Service licenses and ran the Set-MsolCompanySettings -AlllowAdHocSubscriptions $false. That should stop the trial licenses right? I’m still a little confused about the remove-Consentplans. I would like to stop people from adding themselves but if a user wanted a dev environment in Power Apps I would like Admins to be able to assign them to the Trial Power Apps group.
I have the same question (0)
  • Pstork1 Profile Picture
    69,262 Most Valuable Professional on at

    Using Set-MsolCompanySettings -AlllowAdHocSubscriptions $false will keep people from signing up for PowerApps trial memberships, but it will also keep people from signing up for other types of trial memberships in Office 365.  There is no way to keep people from signing up for specific trials at this point. It will not keep people from using self-service licensing.

     

    As far as I know remove-consentplans deals more with family plans and limits on Children, but it has nothing to do with either trials or self-service purchasing.

     

    To turn off Self-service licensing you need to download a module and run a couple powershell commands.  You can read a full walkthrough here:

    https://redmondmag.com/articles/2019/12/04/block-microsoft-power-platform-self-service.aspx

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    hello thanks for the heads up

    regrading this article https://docs.microsoft.com/en-us/power-platform/admin/powerapps-powershell i found out that the powershell command to stop pleople getting trial license was "Remove-AllowedConsentPlans" what I would like to know if this command will enable administrators to assign a trial to an user.

     

    but in the section that you mentioned "there is no way to keep people from signing up for specific trials at this point" that means that admins will also not be able to assign trials?

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Could you please share a bit more about your issue?

    Do you want the administrators to assign a trial to an user who has been stopped getting trial license for his Office 365 account?

     

    Currently, the "Remove-AllowedConsentPlans" command would not enable administrators to assign a trial to an user. If you would like this feature to be added in PowerApps, please consider submit an idea to PowerApps Ideas Forum:

    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

     

    Best regards,

  • Pstork1 Profile Picture
    69,262 Most Valuable Professional on at

    Here's the documentation from the GitHub site for those PowerShell commands.

    The allowed consent plans cmdlets can be used to add or remove access to a particular type of consent plan from a tenant. “Internal” consent plans are either trial licenses or community plans that users can sign themselves up for via Power Apps/Power Automate portals. “Viral” consent plans are trial licenses that users can sign themselves up for via https://signup.microsoft.com or admins can assign to users via Azure Active Directory (Azure AD) or the Office 365 admin portal. By default all types of consent plans are allowed in a tenant. A common use case for these cmdlets is if a tenant admin wants to block users within their tenant from the ability to assign themselves trial licenses but retain the ability to assign trial licenses on behalf of users. This can be accomplished by using the Remove-AllowedConsentPlans -Types “Internal” command as well as disabling the setting AllowAdHocSubscriptions in Azure AD. It is important to note that when using Remove-AllowedConsentPlans all existing plans of the specified type will be removed from all users in the tenant and will not be recoverable. In addition, it will block all further assignment of plans of that type. If, at a later time, the tenant admin wishes to re-enable plans of that type they can use Add-AllowedConsentPlans. If they want to view the current state of allowed consent plans they can use Get-AllowedConsentPlans.

     

    So Remove-AllowedConsentPlans is used to remove existing trial licenses from the tenant.  But you still use Set-MsolCompanySettings -AlllowAdHocSubscriptions $false to disable user's ability to create trial licenses in the future.  That command is not specific to Power Apps and will prevent user's from signing up for ANY trial.  But if an administrator resets that setting long enough to create a trial and then resets it then the admin will be able to assign those trial licenses to anyone they wish to in the tenant.

     

    But neither of those has anything to do with the new Self-service licensing feature that is currently rolling out.  Self-service lets user's buy PAID licenses with their own credit card. The link i posted in the first reply has the PowerShell that you need to turn that feature off.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard