<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Authorization Code Grant Flow (Power BI Embedded) in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/600251#M18219</link>
    <description>&lt;P&gt;This is extremely helpful. Thank you for the detailed response!&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jan 2019 16:08:05 GMT</pubDate>
    <dc:creator>nfadili</dc:creator>
    <dc:date>2019-01-14T16:08:05Z</dc:date>
    <item>
      <title>Authorization Code Grant Flow (Power BI Embedded)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/551889#M17204</link>
      <description>&lt;P&gt;&lt;U&gt;&lt;IMG src="https://ip1.i.lithium.com/b62b38e5b566021a9a5e565413e2b77bc629be4d/68747470733a2f2f646f63732e6d6963726f736f66742e636f6d2f656e2d75732f70726576696f75732d76657273696f6e732f617a7572652f696d616765732f646e3634353534322e64656632343962352d626136622d346464312d396161352d326138393035383134393264253238617a7572652e3130302532392e6a706567" border="0" alt="Authorization Code Flow diagram" width="650" /&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I found this&amp;nbsp;diagram with the corresponding explanation &lt;A href="https://docs.microsoft.com/en-us/previous-versions/azure/dn645542(v=azure.100)#authorization-code-grant-flow-diagram" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;which I am not sure whether my understanding of the flow is correct. Here is my understanding about the diagram above and would be appreciated if someone could correct me if I am wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The client application redirects the User Agent (The "master account" with Power BI Pro License and with Azure Global Admin Role in third-party embedding scenario) to the Azure AD authorization endpoint and lets the User Agent authenticates via Azure username and password.&lt;/LI&gt;&lt;LI&gt;The Azure AD authorization endpoint redirects the user agent back to the client application with an authorization code.&lt;/LI&gt;&lt;LI&gt;The client application requests an access token from the Azure AD token issuance endpoint by providing the authorization code.&lt;/LI&gt;&lt;LI&gt;The Azure AD token issuance endpoint returns an access token and a refresh token.&lt;/LI&gt;&lt;LI&gt;The client application uses the access token to authenticate and call to the Web API &lt;STRONG&gt;INCLUDING&lt;/STRONG&gt; obtain an embed token for third-party embedding.&lt;/LI&gt;&lt;LI&gt;After authenticating the client application, the web API returns the requested data.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Along the process, three different type of tokens were received. Each of their purposes&amp;nbsp;is stated below:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Authorization code&lt;/STRONG&gt;: Used for verification with&amp;nbsp;&lt;/SPAN&gt;Azure AD token issuance endpoint to obtain an access token&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Access token&lt;/STRONG&gt;: Used to call Power BI Web API&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Refresh token&lt;/STRONG&gt;: Used to request additional access tokens&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Embed token&lt;/STRONG&gt;: Used along with embed URL and embed report ID&amp;nbsp;for embedding in custom web application. (Embed Token, Embed report ID and Embed URL are the 3 items required to&amp;nbsp;do 3rd party embedding)&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks in advance for the help.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 06:43:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/551889#M17204</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-25T06:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Code Grant Flow (Power BI Embedded)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/552262#M17224</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The Authorization Code Grant Flow is used to authenticate the current user but never the master user account. Therefore,&amp;nbsp;the&amp;nbsp;Authorization Code Grant Flow&amp;nbsp;is used for &lt;EM&gt;first-party embedding with the user-owns-data model&lt;/EM&gt; and never with &lt;EM&gt;third-party embedding and the app-owns-data model&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If yiu are using third-party embedding, you should use the User Credential Flow which is not an interactive flow. Here is a simple example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;public class PbiEmbeddedManager {

  private static string aadAuthorizationEndpoint = "https://login.microsoftonline.com/common";
  private static string resourceUriPowerBi = "https://analysis.windows.net/powerbi/api";
  
  private static string applicationId = ConfigurationManager.AppSettings["application-id"];
  private static string userName = ConfigurationManager.AppSettings["aad-account-name"];
  private static string userPassword = ConfigurationManager.AppSettings["aad-account-password"];

  private static string GetAccessToken() {

    AuthenticationContext authenticationContext = new AuthenticationContext(aadAuthorizationEndpoint);

    AuthenticationResult userAuthnResult =
      authenticationContext.AcquireTokenAsync(
        resourceUriPowerBi,
        applicationId,
        new UserPasswordCredential(userName, userPassword)).Result;

    return userAuthnResult.AccessToken;
  }&lt;BR /&gt;
}&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Another key point is that you must grant permissions (i.e consent) to the Azure AD application for the master user account before you run this flow because this flow will fail if Azure AD attempts to prompt the user to consent to the application's required permissions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I assume you are using third-party embedding and the app-owns data model and not first-party embedding with the user-owns-data model. Is this correct?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 11:26:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/552262#M17224</guid>
      <dc:creator>TedPattison</dc:creator>
      <dc:date>2018-10-25T11:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Code Grant Flow (Power BI Embedded)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/552452#M17239</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I plan to use third-party embedding and the&amp;nbsp;&lt;SPAN&gt;app-owns data model for my project because one of the specifications&amp;nbsp;is that users can view the report directly&amp;nbsp;when they logged into my web application, without having a Power BI account. This is the reason I chose third-party embedding.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Another specification is that when a user logged into my web application, he/she is only allowed to view the Power BI contents that he/she has permission to, which I am not sure whether this specification can be fulfilled in third-party embedding (where one embed token for each content, consumed by any user that is able to access the page).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this possible in Power BI Embedded third-party scenario? Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 14:18:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/552452#M17239</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-25T14:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Code Grant Flow (Power BI Embedded)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/599285#M18200</link>
      <description>&lt;P&gt;My team has very similar requirements to what you've described here and we are unable to discern a scalable way of soving it. The only idea we can see might work is having multiple of these master accounts, each with different permissions and mapping our user roles to them as requests for embedded content come in. This is definitely not an ideal solution.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have you figured out anything new regarding this problem? Does anyone on the Power BI team have a suggestion for handling this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 17:29:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/599285#M18200</guid>
      <dc:creator>nfadili</dc:creator>
      <dc:date>2019-01-11T17:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Code Grant Flow (Power BI Embedded)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/599507#M18205</link>
      <description>&lt;P&gt;When you use third-party embedding (i.e. app-owns-data), you should use the Power BI Service API create embed tokens with an EffectiveIdentity. This makes it possible to programtically embed Power BI security roles inside the embed tokens you are generating. There is no need for multiple master accounts because a single master account can create embed tokens with varying sets of security roles embedded inside.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a&amp;nbsp;third-party embedding (i.e. app-owns-data) scenario, your application must authenticate the user and somehow track the association between your users and&amp;nbsp;the roles that&amp;nbsp;each users is a member of. Then when it comes time to create the embed token for a specific user, you pass the role(s) when creating&amp;nbsp;an&amp;nbsp;embed token with an effective identity.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a code sample to give you an idea of how to get started. Note that the application determines what role(s) that the current user is a meber of and then adds those roles to the embed token. Once you have added the roles to an EffectiveIdentity, the role-based security enforement works just as&amp;nbsp;it does in first-part embedding (user-owns-data) and standard Power BI SaaS scenarios&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;public static async Task&amp;lt;ReportEmbeddingData&amp;gt; GetReportEmbeddingDataWithRlsRoles() {

  string currentUserName = HttpContext.Current.User.Identity.GetUserName();
  ApplicationDbContext context = new ApplicationDbContext();
  var userManager = new UserManager&amp;lt;ApplicationUser&amp;gt;(new UserStore&amp;lt;ApplicationUser&amp;gt;(context));
  ApplicationUser currentUser = userManager.FindByName(currentUserName);

  var roleManager = new RoleManager&amp;lt;IdentityRole&amp;gt;(new RoleStore&amp;lt;IdentityRole&amp;gt;(context));

  List&amp;lt;string&amp;gt; roles = new List&amp;lt;string&amp;gt;();

  foreach (var role in currentUser.Roles) {
    roles.Add(roleManager.FindById(role.RoleId).Name);
  }

  string accessLevel = HttpContext.Current.User.IsInRole("Admin") ? "edit" : "view";

  PowerBIClient pbiClient = GetPowerBiClient();

  var report = await pbiClient.Reports.GetReportInGroupAsync(workspaceId, reportId);
  var embedUrl = report.EmbedUrl;
  var reportName = report.Name;
  var datasetId = report.DatasetId;

  GenerateTokenRequest generateTokenRequestParameters =
    new GenerateTokenRequest(accessLevel: accessLevel,
                            identities: new List&amp;lt;EffectiveIdentity&amp;gt; {
                              new EffectiveIdentity(username: currentUser.UserName,
                                                    datasets: new List&amp;lt;string&amp;gt; { datasetId  },
                                                    roles: roles)
                            });

  string embedToken =
        (await pbiClient.Reports.GenerateTokenInGroupAsync(workspaceId,
                                                            report.Id,
                                                            generateTokenRequestParameters)).Token;

  return new ReportEmbeddingData {
    reportId = reportId,
    reportName = reportName,
    embedUrl = embedUrl,
    accessToken = embedToken
  };


}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jan 2019 13:02:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/599507#M18205</guid>
      <dc:creator>TedPattison</dc:creator>
      <dc:date>2019-01-12T13:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Code Grant Flow (Power BI Embedded)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/600251#M18219</link>
      <description>&lt;P&gt;This is extremely helpful. Thank you for the detailed response!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 16:08:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/600251#M18219</guid>
      <dc:creator>nfadili</dc:creator>
      <dc:date>2019-01-14T16:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Code Grant Flow (Power BI Embedded)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/958984#M22578</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have my website using different Identity provider not the AAD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I embed using the App-own-data model , how the authentication of the user happen??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do i have to do Identity provider federation enabled between the existing IDP and Azure ad to authenticate the user to use the power BI embedded report?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 15:53:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/958984#M22578</guid>
      <dc:creator>BalaKrish</dc:creator>
      <dc:date>2020-03-04T15:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Code Grant Flow (Power BI Embedded)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/959099#M22585</link>
      <description>&lt;P&gt;When you use App-Owns-Data model, your web application is responsible for authenticating the user. You can use Azure AD when you authenticate the user, but it is not required as you can use another Identity provider that you want. If you use a seperate identity provide, there is not need to invovle Azure AD at all in the user authentication process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The part where Azure AD is involved is when you obtain an app-only token to make calls in the Power BI Service API under the identity of the application as opposed to the identity of the user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 17:06:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/959099#M22585</guid>
      <dc:creator>TedPattison</dc:creator>
      <dc:date>2020-03-04T17:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Code Grant Flow (Power BI Embedded)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/959196#M22587</link>
      <description>Thanks for the answer TedPattison..&lt;BR /&gt;&lt;BR /&gt;This really helps .. Irrespective of the users , the PowerBI embedded reports will be displayed based on the embed token authorization .. There is no need that the users should be added to AAD..&lt;BR /&gt;&lt;BR /&gt;In this case , If I have to restrict user access to a report and As well as RLS , how can I use it if I don’t use AAD ?&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Mar 2020 18:38:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/959196#M22587</guid>
      <dc:creator>BalaKrish</dc:creator>
      <dc:date>2020-03-04T18:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Code Grant Flow (Power BI Embedded)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/959243#M22588</link>
      <description>&lt;P&gt;With the app-own-data model, Azure AD know nothing about the users. When your application authenticates users, it must somehow track which uers have greater or lessor levels of access. All of the design and implementation of this is part of your application design. You might have roles where some users are Admins and other are not. Then you app can show a link to open an admin report for admin users when not lighting up that link for non-admin users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, you can use RLS when using app-owns-data. The trick is that you have to embed one or more roles inside the embed token using the EffectiveIdentiy class that is in the Power BI Service API. Of course, your application needs extra code and lookup tables to determine which roles to add to the embed token for each specific user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;public static async Task&amp;lt;ReportEmbeddingData&amp;gt; GetReportEmbeddingDataWithRlsRoles() {&lt;BR /&gt;&lt;BR /&gt;  string currentUserName = HttpContext.Current.User.Identity.GetUserName();&lt;BR /&gt;  ApplicationDbContext context = new ApplicationDbContext();&lt;BR /&gt;  var userManager = new UserManager&amp;lt;ApplicationUser&amp;gt;(new UserStore&amp;lt;ApplicationUser&amp;gt;(context));&lt;BR /&gt;  ApplicationUser currentUser = userManager.FindByName(currentUserName);&lt;BR /&gt;&lt;BR /&gt;  var roleManager = new RoleManager&amp;lt;IdentityRole&amp;gt;(new RoleStore&amp;lt;IdentityRole&amp;gt;(context));&lt;BR /&gt;&lt;BR /&gt;  List&amp;lt;string&amp;gt; roles = new List&amp;lt;string&amp;gt;();&lt;BR /&gt;&lt;BR /&gt;  foreach (var role in currentUser.Roles) {&lt;BR /&gt;    roles.Add(roleManager.FindById(role.RoleId).Name);&lt;BR /&gt;  }&lt;BR /&gt;&lt;BR /&gt;  string accessLevel = HttpContext.Current.User.IsInRole("Admin") ? "edit" : "view";&lt;BR /&gt;&lt;BR /&gt;  PowerBIClient pbiClient = GetPowerBiClient();&lt;BR /&gt;&lt;BR /&gt;  var report = await pbiClient.Reports.GetReportInGroupAsync(workspaceId, reportId);&lt;BR /&gt;  var embedUrl = report.EmbedUrl;&lt;BR /&gt;  var reportName = report.Name;&lt;BR /&gt;  var datasetId = report.DatasetId;&lt;BR /&gt;&lt;BR /&gt;  GenerateTokenRequest generateTokenRequestParameters =&lt;BR /&gt;    new GenerateTokenRequest(accessLevel: accessLevel,&lt;BR /&gt;                             identities: new List&amp;lt;EffectiveIdentity&amp;gt; {&lt;BR /&gt;                                           new EffectiveIdentity(username: currentUser.UserName,&lt;BR /&gt;                                                                 datasets: new List&amp;lt;string&amp;gt; { datasetId },&lt;BR /&gt;                                                                 roles: roles) });&lt;BR /&gt;&lt;BR /&gt;  string embedToken =&lt;BR /&gt;    (await pbiClient.Reports.GenerateTokenInGroupAsync(workspaceId,&lt;BR /&gt;                                                       report.Id,&lt;BR /&gt;                                                       generateTokenRequestParameters)).Token;&lt;BR /&gt;&lt;BR /&gt;  return new ReportEmbeddingData {&lt;BR /&gt;    reportId = reportId,&lt;BR /&gt;    reportName = reportName,&lt;BR /&gt;    embedUrl = embedUrl,&lt;BR /&gt;    accessToken = embedToken&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;}&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Mar 2020 19:34:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/959243#M22588</guid>
      <dc:creator>TedPattison</dc:creator>
      <dc:date>2020-03-04T19:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Code Grant Flow (Power BI Embedded)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/959266#M22590</link>
      <description>Thanks for the great info ..Is there any documentation for this ??&lt;BR /&gt;I would like to use that as my reference and implement it in my application ..</description>
      <pubDate>Wed, 04 Mar 2020 19:33:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/959266#M22590</guid>
      <dc:creator>BalaKrish</dc:creator>
      <dc:date>2020-03-04T19:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Code Grant Flow (Power BI Embedded)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/959274#M22591</link>
      <description>&lt;P&gt;I am sorry but the Microsoft documentation and sample apps are really bad and need some serious love.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 19:38:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/959274#M22591</guid>
      <dc:creator>TedPattison</dc:creator>
      <dc:date>2020-03-04T19:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Code Grant Flow (Power BI Embedded)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/959286#M22593</link>
      <description>Oh fine..I will try some digging ..Thanks for the info ..</description>
      <pubDate>Wed, 04 Mar 2020 19:51:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/959286#M22593</guid>
      <dc:creator>BalaKrish</dc:creator>
      <dc:date>2020-03-04T19:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Code Grant Flow (Power BI Embedded)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/1174105#M24322</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/2834"&gt;@TedPattison&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I'm new to Power BI Embedded.&lt;/P&gt;&lt;P&gt;My web application is written in JET using IDM tokens. How should I be able to validate users form JET application to Power BI API?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 17:29:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/1174105#M24322</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-22T17:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Code Grant Flow (Power BI Embedded)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/1931728#M30252</link>
      <description>&lt;P&gt;Hi Ted! Thanks for your detailed response with code examples. Something I think would be useful and would allow anyone to implement this flow in any language would be an example REST API call with the payload outlined and possibly where to acquire each component of that payload.&lt;BR /&gt;&lt;BR /&gt;I've been searching for a week off and on and it's extremely frustrating for something so simple as getting a bearer token to make requests to be so obscure or only represented in Java/C# or other lower-level languages where you utilize a library from Microsoft. Often times with no reference on where to obtain those libraries, how to use them, where this code should run... etc&lt;BR /&gt;&lt;BR /&gt;Is there any documentation on that specifically? Or would you be so kind as to give us this example?&lt;BR /&gt;&lt;BR /&gt;Signed,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; a very frustrated developer who has set up this exact situation using other services and has never had this much trouble.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 21:07:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Authorization-Code-Grant-Flow-Power-BI-Embedded/m-p/1931728#M30252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-30T21:07:34Z</dc:date>
    </item>
  </channel>
</rss>

