Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session and PageView are empty for BC 18 and Dynamics 365 Business Central Usage Version 344 #201

Open
OUAIRY opened this issue Jul 19, 2023 · 11 comments

Comments

@OUAIRY
Copy link

OUAIRY commented Jul 19, 2023

Hello,

I want connect app power BI Business Central Usage Version 344 with a Business Central 18.2. But I have a problem because I don't have any value in page Session and Page View (by exemple), I have data for report (telemetry is ok).

Do you have any ideas or settings to make ?

Thank you for your help.

@KennieNP
Copy link
Contributor

KennieNP commented Jul 19, 2023 via email

@OUAIRY
Copy link
Author

OUAIRY commented Jul 20, 2023

Hi @KennieNP,

I try to execute query : I have no result but if i delete filter on RT0003, I success

I find that RT0003 had add in BC22, but can i change the request in App Power BI ? Or install an old version ? How to do ?

// change lookback, limit, ... as needed
// SessionPerformance
let auth_step_one =
traces
| where timestamp >= ago(90d) // adjust as needed. The value 90 comes from the app configuration
| where customDimensions has 'RT0003'
| where customDimensions.eventId == 'RT0003'
| where isnotempty(customDimensions.aadTenantId) // filter away signal from Docker sandboxes
| extend AadTenantId = tostring( customDimensions.aadTenantId )
, EnvironmentName = tostring( customDimensions.environmentName )
| extend TenantId = strcat( toupper(AadTenantId), toupper(EnvironmentName) )
| extend userType = tostring( customDimensions.userType )
| project timestamp
, AadTenantId, EnvironmentName
, EnvironmentType = tostring( customDimensions.environmentType )
, TenantId
, PlatformVersion = tostring( customDimensions.componentVersion )
, GuestUser = tostring( customDimensions.guestUser )
, UserType = case(
userType == 'INTERNAL_ADMIN', 'Administrator'
, userType == 'Normal', 'Normal User'
, userType
)
, session_Id
;
let auth_step_two =
traces
| where timestamp >= ago(90d)
| where customDimensions has 'RT0002' or customDimensions has 'RT0004'
| where customDimensions.eventId in ( 'RT0002', 'RT0004' )
| extend AadTenantId = tostring( customDimensions.aadTenantId )
, EnvironmentName = tostring( customDimensions.environmentName )
| extend TenantId = strcat( toupper(AadTenantId), toupper(EnvironmentName) )
| project ClientType = tostring( customDimensions.clientType )
, session_Id
;
auth_step_one
| join kind=inner auth_step_two on $left.session_Id == $right.session_Id
| project-away session_Id, session_Id1
| summarize count=count()
by bin(timestamp, 1h)
, AadTenantId, EnvironmentName, EnvironmentType, TenantId
, PlatformVersion, ClientType, GuestUser, UserType
// change/remove the next line (take 10). It is just here to make the first run of the query fast
| take 10

@KennieNP
Copy link
Contributor

KennieNP commented Jul 20, 2023 via email

@OUAIRY
Copy link
Author

OUAIRY commented Jul 20, 2023

Thank you, no problem good vacation !
(I think I have the same problem on PageView, the filter on CL0001 is not ok).

@OUAIRY
Copy link
Author

OUAIRY commented Aug 28, 2023

Hi @KennieNP, Have you had a chance to have a look?

Thank You !

@KennieNP
Copy link
Contributor

KennieNP commented Sep 8, 2023 via email

@JOUAIRY
Copy link

JOUAIRY commented Jan 17, 2024

Hi @KennieNP, I will remind you of the problem because I have always chosen the same thing, no data appears when I use an OnPrem database whether in BC18 or BC23

@KennieNP
Copy link
Contributor

KennieNP commented Jan 29, 2024 via email

@JOUAIRY
Copy link

JOUAIRY commented Jan 29, 2024

Yes, i download the last version for test on BC23. I have always no telemetry for page views :(

@frottke
Copy link

frottke commented Apr 8, 2024

We have the same issue with BC24 Cloud and OnPrem. Is there a solution? We had the idea that it might be due to the Azure region. This does not seem to be the case. It looks like that UBlock Origin (Adblocker) is the root cause. Is it correct that no page views are emitted when an ad blocker is used?

Even without ad blocker ->
It works in the environment telemetry but not in the app telemetry. Strange!

@JOUAIRY
Copy link

JOUAIRY commented Apr 15, 2024

Strange, for me It's ok in BC23 Saas FR but not in OnPrem only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants