Skip to main content
Liquid error: Exception has been thrown by the target of an invocation.

Vote (0) Share
's profile image

on

Comments (0)
's profile image Profile Picture

Tomáš Žabčík on 01 Nov 2024 09:18:05

RE:

When the warning `"AL0432: Method 'AcquireTokenWithClientCredentials' is marked for removal. Reason: Use AcquireTokenWithClientCredentials with SecretText data type for AccessToken.. Tag: 24.0."` appears, I notice that I can no longer retrieve information about token expiration.Searching within "Base Application w1-25," I found an example in Codeunit 560, **CrossIntercompany Connector**, where expiration is handled using a constant `StandardExpirationInSeconds := 3599`.```al internal procedure GetBearerAccessToken(var ICPartner: Record "IC Partner"): SecretText var  Token: SecretText; begin  if (ICPartner."Token Expiration Time"    Token := AcquireBearerAccessToken(ICPartner);   if StoreTokenInICPartner then begin    ICPartner.SetSecret(ICPartner."Token Key", Token);    ICPartner."Token Expiration Time" := CurrentDateTime + StandardExpirationInSeconds; // StandardExpirationInSeconds is a constant.    ICPartner.Modify();   end  end  else   Token := ICPartner.GetSecret(ICPartner."Token Key");  exit(Token); end;```I'm concerned about cache issues when changing App registration because the `OAuth2` Codeunit, as I recently discovered, manages expiration internally. Knowing access token details and expiration time feels essential from my perspective.

's profile image Profile Picture

Tomáš Žabčík on 01 Nov 2024 09:14:57

RE:

When the warning `"AL0432: Method 'AcquireTokenWithClientCredentials' is marked for removal. Reason: Use AcquireTokenWithClientCredentials with SecretText data type for AccessToken.. Tag: 24.0."` appears, I notice that I can no longer retrieve information about token expiration.Searching within "Base Application w1-25," I found an example in Codeunit 560, **CrossIntercompany Connector**, where expiration is handled using a constant `StandardExpirationInSeconds := 3599`.```al  internal procedure GetBearerAccessToken(var ICPartner: Record "IC Partner"): SecretText  var    Token: SecretText;  begin    if (ICPartner."Token Expiration Time"       Token := AcquireBearerAccessToken(ICPartner);      if StoreTokenInICPartner then begin        ICPartner.SetSecret(ICPartner."Token Key", Token);        ICPartner."Token Expiration Time" := CurrentDateTime + StandardExpirationInSeconds; // StandardExpirationInSeconds is a constant.        ICPartner.Modify();      end    end    else      Token := ICPartner.GetSecret(ICPartner."Token Key");    exit(Token);  end;```I'm concerned about cache issues when changing App registration because the `OAuth2` Codeunit, as I recently discovered, manages expiration internally. Knowing access token expiration time feels essential from my perspective.

's profile image Profile Picture

Gideon Agbeshie on 01 Nov 2024 09:14:11

RE:

Dashboards with a lot of indicators need this feature. Please implement

's profile image Profile Picture

Svein Arne Hylland on 01 Nov 2024 08:06:20

RE:

USERCULTURE() returns almost what Power Bi report developers need here. Except this does not have the info of timezone or the user timezone offset from UTC.To get the current time zone offset in JavaScript, you can use the getTimezoneOffset() method of the Date object. This method returns the time zone offset in minutes from UTC for the current locale. But as Power Bi can not access resources on the local computer, I would suggest Microsoft to implement something like a USERUTCTIMEOFFSET()function in the same way it can show the USERCULTURE that then can be used in DAX to determine time difference.This can be very useful when reports are used around the world - that works interactive with live data - and displayed to user according to local time. (Otherwise any time stamps in data is useless to include.)

's profile image Profile Picture

Anthony Dong on 01 Nov 2024 02:02:10

RE:

https://learn.microsoft.com/en-us/power-platform/admin/enable-use-comprehensive-auditing#review-your-audit-data-using-reports-in-microsoft-purview-compliance-portal

's profile image Profile Picture

Manoj Batchu on 01 Nov 2024 01:30:03

RE:

This feature is essential for Dynamics 365 / Power Platform.

's profile image Profile Picture

Mauricio Muriel Agudelo on 31 Oct 2024 19:20:40

RE:

Large companies often have many datasets in direct query due to the need to always have up-to-date data for decision making. In some cases, stored procedures can be an important resource to improve query performance.

's profile image Profile Picture

Zach Richardson on 31 Oct 2024 18:50:02

RE:

I also would like a way to be able to manage credentials for various data sources used across Fabric within a given Workspace. I cannot always use a service principal or a generated workspace identity with some of my data sources.

's profile image Profile Picture

Ketil Keiseraas on 31 Oct 2024 15:16:55

RE:

Anything new on this one? Seems strange that its not possible in 2024 to add and use Web fonts by importing them in the jason Theme or something.

's profile image Profile Picture

David D'angona on 31 Oct 2024 14:32:18

RE:

Here's what we need to be able to do both in Map and in Azure Map visuals:Have the ability to add data labels to the bubbles. If it's a pie, give us the same options as in a pie chart visual for value display & percentage. Category shouldn't be necessary as the legend will take care of it.Current work-around is to build a tooltip page that mimics the pie charts but that has the desired labels.