<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to authenticate against an external account automatically?</title><link>https://community.appian.com/discussions/f/general/18463/how-to-authenticate-against-an-external-account-automatically</link><description>I want to be able to authenticate against an external account without having to manually enter the accounts credentials. Appian has an example to authenticate using a link . However, this forces the user to enter the credentials on an external system</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to authenticate against an external account automatically?</title><link>https://community.appian.com/thread/72682?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2020 14:07:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9a622dd0-7f5d-4a24-ae5f-d58d90914ff9</guid><dc:creator>Jose H.</dc:creator><description>&lt;p&gt;Appian already has a plugin for Power BI which is the one I&amp;#39;m using to authenticate. I have everything setup and the only issue is that every user needs to authenticate the connected system every time. It works for me since I have already authenticated the connected system, but other people cannot.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to authenticate against an external account automatically?</title><link>https://community.appian.com/thread/72681?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2020 14:00:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:53638808-b69f-486a-a6e7-1a55bc63f3f9</guid><dc:creator>lukasm0001</dc:creator><description>&lt;p&gt;Create a connected system and select HTTP and then choose Client Credential Grant in the authentication dropdown. Then fill in the blanks. Once you authenticated using this, Appian will take care in the background of the authentication and possible refresh tokens etc. So, you only need to authenticate once.&lt;/p&gt;
&lt;p&gt;To retrieve the cliend id, secret and token endpoint, please have a look in the Power BI documentation. You have to register Appian as an app:&amp;nbsp;&lt;a href="https://docs.microsoft.com/en-us/power-bi/developer/register-app"&gt;https://docs.microsoft.com/en-us/power-bi/developer/register-app&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to authenticate against an external account automatically?</title><link>https://community.appian.com/thread/72677?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2020 13:03:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:538558a0-b19f-476b-b672-c65d685d2aae</guid><dc:creator>Jose H.</dc:creator><description>&lt;p&gt;@lukasm0001&amp;nbsp; &amp;nbsp; thanks&amp;nbsp;for the info. I do have a connected system using OAuth and an Integration for connecting to Power BI. But this requires authentication every time I try to run it. Do you have any examples of using that second method to authenticate? The link explains what it is but not sure I&amp;#39;m understanding on how to use it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to authenticate against an external account automatically?</title><link>https://community.appian.com/thread/72670?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2020 10:53:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:98de7942-3a79-4dfa-b1a3-53dbeb63fce7</guid><dc:creator>lukasm0001</dc:creator><description>&lt;p&gt;Hi Jose&lt;/p&gt;
&lt;p&gt;There are two ways to use OAuth 2.0. The one you described is the OAuth 2.0: Authorization Code Grant as described &lt;a href="https://docs.appian.com/suite/help/19.4/Oauth_connected_system.html" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt;. Each user need to authenticate using the authentication link to grant the access to the external system. You are actually looking for the Client Credentials Grant as described&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/19.4/oauth_client_credentials.html" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt;. Using this the client (Appian) will authenticate in the background with the external system.&lt;/p&gt;
&lt;p&gt;However, I don&amp;#39;t know what authentication method Power BI offers.For OAuth client credentials you need a client id, client secret, and token request endpoint. Maybe Power BIs API also offers authentication using an API key, which would also fulfill your requirement. In any case, you should create a connected system to store the credentials instead of constants or documents.&lt;span style="font-family:inherit;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>