Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
SeanMoody
Helper I
Helper I

Auto attendant and Call queue historical reports - Version 3.2

So from my understanding of how this report works, it uses OAuth2 authentication which is based off of my credentials.

My credentials have been given access to Different AutoAttendant and Calling Queues.

If I open it up in the desktop then it shows me the proper information.

 

If I put it on the power bi service then I also have to use my credentials in the Semantic Model Refresh.  This will show me the data for the teams access I've been provided as well.

However, is there not a way to have this report pass through the users credential so that everyone sees there own teams assignments and not the assignment of the credentials used to refresh the data?

 

Or is the intent of the report that you have one account that is assigned everything and the user then filters the report based on the Call Queue and Auto Attendent pull down lists.

 

Thanks for your assistance.

Sean

 

 

 

2 ACCEPTED SOLUTIONS

Hi @SeanMoody 

Regarding the RLS mapping table:
This is a table that needs to be connected to your data models.
The model itself should be structured accordingly — for example, there should be an Employees table that is linked to the Sales table through some key.
I'm attaching a link to a tutorial video about RLS.
I believe it will help clarify things for you

https://www.youtube.com/watch?v=jphj40tBPD8&t=3s

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

v-pnaroju-msft
Community Support
Community Support

Hi SeanMoody,

Thank you for your follow-up.

Please find below the links to the documents that will assist in resolving the issue:
Use the Microsoft Graph API to work with Microsoft Teams - Microsoft Graph v1.0 | Microsoft Learn
Get started with the Microsoft Graph PowerShell SDK | Microsoft Learn
Microsoft Graph permissions reference - Microsoft Graph | Microsoft Learn

If you find our response helpful, kindly consider marking it as the accepted solution. This will benefit other members of the community who may have similar queries.

Should you have any further questions, please feel free to reach out to the Microsoft Fabric community.

Thank you.

View solution in original post

11 REPLIES 11
v-pnaroju-msft
Community Support
Community Support

Hi SeanMoody,

We are following up to see if your query has been resolved. Should you have identified a solution, we kindly request you to share it with the community to assist others facing similar issues.

If our response was helpful, please mark it as the accepted solution, as this helps the broader community.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Hi SeanMoody,

We wanted to check with you because we have not received any reply. If your problem is solved, please share the solution with the community. This will help others who face the same issue.

If our answer helped you, please mark it as the accepted solution.This will guide other members too.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Hi SeanMoody,

We have not received a response from you regarding the query and were following up to check if you have found a resolution. If you have identified a solution, we kindly request you to share it with the community, as it may be helpful to others facing a similar issue.

If you find the response helpful, please mark it as the accepted solution, as this will help other members with similar queries.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Hi SeanMoody,

Thank you for your follow-up.

Please find below the links to the documents that will assist in resolving the issue:
Use the Microsoft Graph API to work with Microsoft Teams - Microsoft Graph v1.0 | Microsoft Learn
Get started with the Microsoft Graph PowerShell SDK | Microsoft Learn
Microsoft Graph permissions reference - Microsoft Graph | Microsoft Learn

If you find our response helpful, kindly consider marking it as the accepted solution. This will benefit other members of the community who may have similar queries.

Should you have any further questions, please feel free to reach out to the Microsoft Fabric community.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Hi SeanMoody,

Thank you for your follow-up.

  1. To link the Mapping Table to multiple Report Tables, please create a user-to-queue mapping table (UserEmail → QueueID). Subsequently, establish relationships between this mapping table and all relevant tables in your model that contain QueueID or similar fields. This will ensure that filters from Row-Level Security (RLS) are applied automatically across all visuals.

  2. To keep the Mapping Table updated with any changes in Teams queue assignments, you may either maintain it manually if changes are infrequent, or automate the process by using Microsoft Graph API to extract the current queue-user assignments.

If you find our response helpful, we kindly request you to mark it as the accepted solution. This will greatly assist other members of the community who may be facing similar queries.

Should you have any further questions, please feel free to reach out to the Microsoft Fabric community.

Thank you.

Do you have any documentation or video example of how you would use Microsoft Graph API to extract the current queue-user assignments to a Power BI Table?

v-pnaroju-msft
Community Support
Community Support

Thankyou, @Ritaf1983, for your response.

Hi SeanMoody,

We appreciate your inquiry submitted through the Microsoft Fabric Community Forum.

Based on my understanding, the Auto Attendant and Call Queue Historical Reports utilize OAuth2-based authentication with a pre-authorized account (usually an administrator or service principal) to retrieve data via Microsoft Graph and CQD APIs. In the Power BI Service, the dataset refresh always uses this single account; the viewer’s credentials are not passed through. This behavior is by design and is not currently supported. Therefore, all users see data based on the refresh account’s access privileges, not according to their individual Teams assignments.

Please follow the workaround steps outlined below, which may help resolve the issue:

  1. To ensure that each user only views data for their respective Auto Attendants and Call Queues, you can implement Row-Level Security (RLS) in Power BI:
    1. Create a user-to-queue mapping table (for example, email → assigned queue names).
    2. Define RLS rules using the USERNAME() or USERPRINCIPALNAME() functions in Power BI.
    3. This will filter the data based on the identity of the logged-in user, irrespective of the refresh account credentials.

Additionally, kindly refer to the following links for more information:
Auto attendant and Call queue historical reports - Microsoft Teams | Microsoft Learn
Plan for Auto attendant and Call queue authorized users - Microsoft Teams | Microsoft Learn

If you find our response helpful, please mark it as the accepted solution and provide kudos. This will assist other community members who may have similar queries. Should you have any further questions, please feel free to contact the Microsoft Fabric Community.

Thank you.

Thanks for the explaination.

So if I create a user-to-queue mapping table (for example, email → assigned queue names) then I have 2 additional questions:

1) How do I tie this mapping table into the many tables within this report so it filters the multiple reports ?

 

2) Am I correct in assuming that this table will need to be kept up to date with every change that is made on the teams queue administrative side?

 

Thanks

Sean

Hi @SeanMoody 

Regarding the RLS mapping table:
This is a table that needs to be connected to your data models.
The model itself should be structured accordingly — for example, there should be an Employees table that is linked to the Sales table through some key.
I'm attaching a link to a tutorial video about RLS.
I believe it will help clarify things for you

https://www.youtube.com/watch?v=jphj40tBPD8&t=3s

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Thank you for your advice Rita I will look at the video on Row level Security.
Sean.

Ritaf1983
Super User
Super User

Hi @SeanMoody 

In Power BI, the process of refreshing the data and the way users access or view the data are handled separately.

Data refresh is managed through the on-premises data gateway (if needed) and is configured with organizational-level credentials. The refresh runs automatically on a schedule, or manually when triggered, and always uses the credentials defined in the dataset settings – not the credentials of the user viewing the report.

Access to data within the report is controlled using Power BI's internal Row-Level Security (RLS). With RLS, each user sees only the data they're authorized to view, based on the security rules you've defined.

So even though one account is used for data refresh, each user can still see only their relevant information if RLS is implemented correctly

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.