Menu Close

Tag: #dynamics365blogs

{How to} License autoclaim for Power Apps Licenses

Hello Everyone,

Today i am going to show how to claim power apps licenses autoclaim.

Let’s get’s started.

License autoclaim for Power Apps will simplify license assignments for admin. This feature enables their Power Apps users to automatically claim Power Apps per user licenses when they’re needed instead of requiring the admin to identify users who needs licenses in advance.

So Admins will be able to setup an autoclaim policy for Power Apps per user licenses in the Microsoft 365 admin center just like they can for other Microsoft Licenses. After they do so, any user in their tenant that needs a standalone Power Apps license will be automatically assigned a Power Apps per user license when they need it.

For example: If a user without a standalone Power Apps license opens an app that requires a premium license, the user will automatically be assigned a Power Apps per user license.

A report of all users who have been assigned licenses under the autoclaim policy will be available in the Microsoft 365 Admin Center. Admins can choose to enable or disable the autoclaim policy at any time.

How do you do that?

You should be an Global Admin for Microsoft 365 Tenant to create and manage auto-claim policies,

You can turn on or off by going into Admin center > Billing > Licenses page then select the Auto-claim Policy tab.

In the center of the page, select the Turn on Settings button.

Similarly how to turn off auto-claim ploicy?

Only global admin can turn off an auto-claim policy setting.

1. In the admin center, go to the settings > Org settings page
2. Near the bottom of the table select the User Owned apps and services.
3. In the right pane, clear the box for the Let users auto-claim licenses the first time they sign in.

For more information about how to create an auto-claim policy click here

That’s it for today
I hope this helps
Malla Reddy(@UK365GUY)
#365BlogPostsin365Days

Share this:

Automatic deletion of inactive developer environments

Hello Everyone,

Today i am going to show how the automatic delete the developer environments works.

Let’s gets started.

Normally users can create a developer environment in a tenant for learning purpose, so Microsoft came up with clean up strategy to free up storage space, if they are not used in 90 days.

The system sends an email notification to all admins in your organization 14 days, 7 days, and 1 day before the environment is disabled. if no action is taken, then the environment is deleted 10 days after the final email is sent.

Note: Only Production and sandbox environments are affected by the subscription based automatic cleanup.

For more information about the clean up click here
Thats it for today.

I hope this helps
Malla Reddy(@UK365GUY)
#365BlogPostsin365Days

Share this:

{Resolved} Upgrade this environment for database to dataverse

Hello Everyone,

Today i am going to show how to upgrade an evironment database to dataverse.

Reason why you are getting this message: If an attempt is made to upgrade Dataverse for Teams environment when the tenant doesn’t have enough capacity, the upgrade operation will be blocked and an error message will be displayed.

For example: You have an environment of type Microsoft Teams and you want to upgrade the database to dataverse for teams.

You need to click on the UPGRADE and you need to have enough dataverse capactity to upgrade.

Below is the process flow when an upgrade is initiated.

Note: To successfully carry out the upgrade, the tenant must have at least as much available capacity as the size of the Dataverse for teams environment that’s being upgraded. After its upgrade, the consumed capacity of the upgraded Dataverse for Teams environment will start counting towards the tenant’s capacity.

For more information click here

That’s it for today.

I hope this helps.

Malla Reddy(@UK365GUY)

#365BlogPostsin365Days

Share this:

XRMTOOLBOX SQL 4 CDS to get logged in users, Users with security roles in Dynamics 365

Hello Everyone,

Today i am going to show the XRMTOOLBOX tool SQL 4 CDS which allows you to use standard SQL syntax to query and manipulate your data and metadata in Dataverse and Dynamics 365.

Let’s gets started.

Here is the link for sql 4 cds

SQL 4 CDS tool Capabilities:

First of all many thanks to creator of this tool Mark Carrington.

As per the release notes:

Add support for XML data type and FOR XML clause.

Add support for Elastic tables

Add support for Stuff function

Add option to bypass plugins for SELECT statements

Improved error reporting for duplicated table/alias names

Improved error reporting for plugin errors

Improved efficiency of joins that can’t be translated to FetchXML

Improved error handling during bulk DML Operations

Fixed querying audit table

Fixed Collation label for metadata and virtual columns

Fixed hash joins on different collations

Fixed filtering on outer-joined solution table

Fixed multi threading error with partitioned aggregations

Fixed copying results with headers but no data rows.

I have used this tool for find out the users with role, below is the script:

SELECT identityid,
systemuser.internalemailaddress,
systemuser.fullname,
systemuser.title,
systemuser.systemuserid,
systemuser.isdisabled,
systemuser.islicensed,
account.name,
businessunit.name,
role.roleid,
businessunit.name,
role.name
FROM systemuserroles
INNER JOIN
systemuser AS systemuser
ON systemuser.systemuserid = systemuserroles.systemuserid
AND (systemuser.isdisabled = 0
AND systemuser.accessmode = 0)
LEFT OUTER JOIN
account AS account
ON account.accountid = systemuser.gmr_opcoid
INNER JOIN
businessunit AS businessunit
ON businessunit.businessunitid = systemuser.businessunitid
INNER JOIN
role AS role
ON role.roleid = systemuserroles.roleid
AND (role.name = ‘ Admin All’
OR role.name = ‘ Admin Owned’
OR role.name = ‘ Admin Project’
OR role.name = ‘ Analytics’
OR role.name = ‘ Basic ‘
OR role.name = ‘ Basic Client’
OR role.name = ‘ BI Integration’
OR role.name = ‘ Embedded Power BI Report’
OR role.name = ‘ Embedded Reports OC’
OR role.name = ‘ Financial Controller’
OR role.name = ‘ Import/Export’
OR role.name = ‘Integration’
OR role.name = ‘ Admin’
OR role.name = ‘ Manager’
OR role.name = ‘ Integration’
OR role.name = ‘ Service Account’);

Also for last logged in users:

SELECT a.actionname,
a.objectid AS systemuserid,
s.fullname,
s.domainname,
(SELECT TOP 1 c.createdon
FROM audit AS c
INNER JOIN
systemuser AS systemuser
ON systemuser.systemuserid = c.objectid
AND c.action = 64
AND c.createdon >= dateadd(month, -6, GETDATE())
WHERE c.objectid = a.objectid
ORDER BY c.createdon DESC) AS lastloginutc
FROM audit AS a
JOIN
systemuser AS s
ON a.objectid = s.systemuserid
AND a.action = 64
AND a.createdon >= dateadd(month, -6, GETDATE())
RIGHT OUTER JOIN
systemuserroles AS systemuserroles
ON systemuserroles.systemuserid = s.systemuserid
RIGHT OUTER JOIN
role AS role
ON role.roleid = systemuserroles.roleid
AND role.name LIKE ‘GMR SEC%’
GROUP BY a.actionname, a.objectid, s.fullname, s.domainname, s.internalemailaddress
ORDER BY lastloginutc DESC;

That’s it for today

I hope this helps.
Malla Reddy(@UK365GUY)
#365BlogPostsin365Days

Share this:

{Did you know} you can have a job in 3 months with Power Up Program

Hello Everyone,

This blog posts for career switchers and freshers starting job now, can join the Power Up Program run by Microsoft.

Lets gets started.

Are you looking for career change or fresher searching for job now then continue reading this blog post.

Microsoft runs Power Up Program to train you to become a Microsoft Power Platform Consultant in all aspects starting from what to learn and assignments and interview preparations.

So why dont you take a look at Microsoft Power Up Program and join and empower yourself and community around you.

Here is the link to Microsoft Power Up Program

You will get trained on Power Apps, Power Automate, Power BI, Power Virtual Agent, and then you can learn how to analyze data,build solutions, automate processes and create intelligent chatbots.

I hope this blog post can help someone out there in the world and if this blog post is useful and you can also help someone in whatever way you can..

That’s it for today.

I hope this helps
Malla Reddy(@UK365GUY)
#365BlogPostsin365Days

Share this: