<?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: Api example to MVC in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Api-example-to-MVC/m-p/95196#M3365</link>
    <description>&lt;P&gt;Hi thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added the full name now, but it makes no difference.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Naamloos.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/21329i07F2ECB4F552B1E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Naamloos.png" alt="Naamloos.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2016 11:29:33 GMT</pubDate>
    <dc:creator>fer_vd</dc:creator>
    <dc:date>2016-11-29T11:29:33Z</dc:date>
    <item>
      <title>Api example to MVC</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Api-example-to-MVC/m-p/94806#M3346</link>
      <description>&lt;P&gt;Hi, I used the example "integrate report into webapp" and this works. But now i'm trying to get this code into a MVC structure and i'm getting errors from the redirect. I have installed the package for using Microsoft.IdentityModel.Clients.ActiveDirectory, but the following gives an error:&lt;/P&gt;&lt;P&gt;AuthenticationResult AR = AC.AcquireTokenByAuthorizationCode(code, new Uri(redirectUri), cc);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It can't find the AcquireTokenByAuthorizationCode(code, new Uri(redirectUri), cc); method.&lt;/P&gt;&lt;P&gt;Does anybody have an idea how to solve this?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 14:32:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Api-example-to-MVC/m-p/94806#M3346</guid>
      <dc:creator>fer_vd</dc:creator>
      <dc:date>2016-11-28T14:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Api example to MVC</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Api-example-to-MVC/m-p/95182#M3362</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/15378"&gt;@fer_vd﻿&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to your description, it seems to be an issue of ambiguous class name. Try to use the fully qualified name(&lt;SPAN class="selflink"&gt;Microsoft.IdentityModel.Clients.ActiveDirectory&lt;SPAN&gt;.&lt;/SPAN&gt;AuthenticationContext&lt;/SPAN&gt;).&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 10:44:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Api-example-to-MVC/m-p/95182#M3362</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2016-11-29T10:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Api example to MVC</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Api-example-to-MVC/m-p/95196#M3365</link>
      <description>&lt;P&gt;Hi thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added the full name now, but it makes no difference.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Naamloos.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/21329i07F2ECB4F552B1E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Naamloos.png" alt="Naamloos.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 11:29:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Api-example-to-MVC/m-p/95196#M3365</guid>
      <dc:creator>fer_vd</dc:creator>
      <dc:date>2016-11-29T11:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Api example to MVC</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Api-example-to-MVC/m-p/96238#M3394</link>
      <description>&lt;P&gt;Alright.. so after a lot of try and error I found out the method AcquireTokenByAuthorizationCode is no longer supported in the new versions of Microsoft.IdentityModel.Clients.ActiveDirectory. I now tried version 2.22 which works. The example uses v2.19.&lt;/P&gt;&lt;P&gt;In newer versions it is needed to use AcquireTokenByAuthorizationCodeAsync.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 08:54:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Api-example-to-MVC/m-p/96238#M3394</guid>
      <dc:creator>fer_vd</dc:creator>
      <dc:date>2016-12-01T08:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Api example to MVC</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Api-example-to-MVC/m-p/436359#M13457</link>
      <description>&lt;P&gt;i have the same error when i use&amp;nbsp;&lt;SPAN&gt;AcquireTokenByAuthorizationCodeAsync i will have this error&amp;nbsp;An asynchronous operation cannot be started at this time. Asynchronous operations may only be started within an asynchronous handler or module or during certain events in the Page lifecycle. If this exception occurred while executing a Page, ensure that the Page is marked &amp;lt;%@ Page Async="true" %&amp;gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 12:38:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Api-example-to-MVC/m-p/436359#M13457</guid>
      <dc:creator>Nourwag</dc:creator>
      <dc:date>2018-06-10T12:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Api example to MVC AcquireTokenByAuthorizationCodeAsync</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Api-example-to-MVC/m-p/436361#M13458</link>
      <description>&lt;P&gt;i have same error i change to&amp;nbsp;&lt;SPAN&gt;to use AcquireTokenByAuthorizationCodeAsync but i will have this error&amp;nbsp;An asynchronous operation cannot be started at this time. Asynchronous operations may only be started within an asynchronous handler or module or during certain events in the Page lifecycle. If this exception occurred while executing a Page, ensure that the Page is marked &amp;lt;%@ Page Async="true" %&amp;gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 12:41:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Api-example-to-MVC/m-p/436361#M13458</guid>
      <dc:creator>Nourwag</dc:creator>
      <dc:date>2018-06-10T12:41:13Z</dc:date>
    </item>
  </channel>
</rss>

