<?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: (Native) Splunk APP on WIndows Azure AD - Can't make It work in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Native-Splunk-APP-on-WIndows-Azure-AD-Can-t-make-It-work/m-p/226772#M73527</link>
    <description>&lt;P&gt;Thank you for answering, I filled the fields with the information present in FederationMetadata, but I tried many different information in EntityID like the app url... but It doesn't works anyway... I AM using the Splunk APP in Azure AD from their gallery, and It is not that simple... there's NO "how to" and as shown in right/down corner the link "View Splunk configuration Instructions" do NOT link to a "how to".&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jun 2016 18:11:02 GMT</pubDate>
    <dc:creator>freaklin</dc:creator>
    <dc:date>2016-06-24T18:11:02Z</dc:date>
    <item>
      <title>(Native) Splunk APP on WIndows Azure AD - Can't make It work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Native-Splunk-APP-on-WIndows-Azure-AD-Can-t-make-It-work/m-p/226770#M73525</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I've been trying to make my Splunkweb able to login with SAML coming from Windows Azure AD, but even wasting few days on searching and diging in a lot of sites, communities and bad written docs I just can't make It Work.&lt;/P&gt;

&lt;P&gt;This is what I have until now.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1508iA60610EA38BEBA3D/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;My Cloud Scenario in AWS is shown in the picture above (CLOUD)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;I'm Using an AWS ELB with two listeners:&lt;/STRONG&gt;&lt;BR /&gt;
Port 80 to Splunk's 80&lt;BR /&gt;
Port 443 (with certs) to Splunk's 80&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;My splunk web is running on port 80.&lt;/STRONG&gt;&lt;/P&gt;

&lt;HR /&gt;

&lt;H2&gt;AZURE SIDE&lt;/H2&gt;

&lt;OL&gt;
&lt;LI&gt;In WAAD &amp;gt; Add an app from the gallery, choose Splunk and named it Splunk.&lt;/LI&gt;
&lt;LI&gt;Once the app was added, I click on "Configure single sign-on".&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;On the Wizard&lt;/P&gt;

&lt;P&gt;2.1. Click on "Microsoft Azure AD Single Sign-On".&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;SEE WIZARD1 in the picture on top&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;2.1. Now starts the guessing game, Why in the doc [Configure SSO with AzureAD or AD FS as your Identity Provider][3] The writer didn't just  give examples of filling this fields? A Doc about Integration with AD tells nothing about the required information on the AD side to an APP provided by the Splunk It self.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;SEE WIZARD2 in the picture on top&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;In the field "SIGN ON URL" there'1s an example to use, unbelievable win, but how about "IDENTIFIER"  and "REPLY URL" ?&lt;/P&gt;

&lt;P&gt;The Azure Wizard Help tells me this about them:&lt;BR /&gt;
&lt;EM&gt;IDENTIFIER&lt;BR /&gt;
The Identifier should uniquely identify the application for which single sign on is being setup. Typically this is also a value that azure will send back to application as 'audience' of authentication token and the application is expected to validate it. This is also referred to as the "Entity Id" in SAML.&lt;BR /&gt;
REPLY URL&lt;BR /&gt;
The reply URL is where the application expects to receive the authentication token. This is also referred to as the "Assertion Consumer Service" (ACS) URL in SAML.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;"Entity Id" and "ACS" in SAML&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;The guessing game leaded me to get data in a path http s://mysplunkweb/saml/spmetadata. It tells me this about the fields I mentioned above.&lt;/P&gt;

&lt;P&gt;entityID="splunkEntityId" - what it means?&lt;/P&gt;

&lt;P&gt;Location="http ://sso1:80/saml/acs" - May I assume "http ://mysplunkweb:80/saml/acs" ?&lt;/P&gt;

&lt;P&gt;Continuing the Guessing game, I filled like this.&lt;/P&gt;

&lt;P&gt;SIGN ON URL: http s://mysplunkweb/en-US/app/launcher/home&lt;BR /&gt;
IDENTIFIER: urn:oasis:names:tc:SAML:2.0:metadata&lt;BR /&gt;
REPLY URL: http s://mysplunkweb:80/saml/acs&lt;/P&gt;

&lt;P&gt;2.3. In the 3rd step I download the FederationMetadata.xml to upload on my Splunkweb.&lt;BR /&gt;
 * Honorable Mention to the link "View Splunk configuration instructions" that days ago leaded to another app, today leads to nowhere, and tomorrow who knows.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;SEE WIZARD3 in the picture on top&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;2.4. Once uploaded on Splunkweb I click "next", then Finish.&lt;/P&gt;

&lt;H2&gt;SPLUNKWEB SIDE&lt;/H2&gt;

&lt;P&gt;On Splunkweb&lt;/P&gt;

&lt;P&gt;Now the documentation is useful.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Settings &amp;gt; Access Controls &amp;gt;  Authentication method &amp;gt; Mark "SAML" and click on "Configure Splunk to use SAML"&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Click on "SAML Configuration". Opening a form where the first thing is upload the FederationMetadata.xml mentioned in a previous step.&lt;/LI&gt;
&lt;/OL&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;This Action fills the fields: "Single Sign On (SSO) URL", "Single Log Out (SLO) URL" and "IdP certificate path" but not "Entity ID", which tells on mouse hover the Icon "?" "This is your Splunk Instalation". What it means?&lt;BR /&gt;
The Documentation says "This field is the entity ID as configured in the SP connection entry in your IdP." If this is in the FederationMetada why doesn't fills like the rest? nvm.. &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Fill Entity ID with http s://sts.windows.net/MyDirectoryID/ found in federationmetadata.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Fill the rest of the fields as documented.&lt;/LI&gt;
&lt;/OL&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;&lt;STRONG&gt;Advanced Settings&lt;/STRONG&gt;&lt;BR /&gt;
Attribute Alias Role: http ://schemas.microsoft.com/ws/2008/06/identity/claims/role&lt;BR /&gt;
Attribute Alias Real Name: http ://schemas.microsoft.com/identity/claims/displayname&lt;BR /&gt;
Attribute Alias Mail: http ://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress&lt;BR /&gt;
Fully qualified domain name or IP of the load balancer: Empty&lt;BR /&gt;
Redirect port - load balancer port: Empty&lt;BR /&gt;
Redirect to URL after logout: Empty&lt;/P&gt;

&lt;H2&gt;Conclusion&lt;/H2&gt;

&lt;P&gt;I assigned the app to my User in AD, but when I try to access the app on my directory It shows me the this error:&lt;/P&gt;

&lt;P&gt;Correlation ID: 2702cb32-ee6a-4f57-a250-e4da5ea4cc32&lt;BR /&gt;
Timestamp: 2016-06-23 18:01:11Z&lt;BR /&gt;
AADSTS70001: Application with identifier 'http s://sts.windows.net/xxxx/' was not found in the directory xxxx&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 20:38:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Native-Splunk-APP-on-WIndows-Azure-AD-Can-t-make-It-work/m-p/226770#M73525</guid>
      <dc:creator>freaklin</dc:creator>
      <dc:date>2016-06-23T20:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: (Native) Splunk APP on WIndows Azure AD - Can't make It work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Native-Splunk-APP-on-WIndows-Azure-AD-Can-t-make-It-work/m-p/226771#M73526</link>
      <description>&lt;P&gt;The error is exactly what it says it is: You would have set the entityId in splunk to "http s://sts.windows.net/xxxx/" which seems like a typo to me. Ensure that entityId configured in splunk is exactly same as APPID URI of configured application. &lt;BR /&gt;
Alternatively you could try SPLUNK APP in AZURE AD Marketplace it may configuration on Azure AD simpler. Let me know how it goes.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 17:15:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Native-Splunk-APP-on-WIndows-Azure-AD-Can-t-make-It-work/m-p/226771#M73526</guid>
      <dc:creator>rdimri_splunk</dc:creator>
      <dc:date>2016-06-24T17:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: (Native) Splunk APP on WIndows Azure AD - Can't make It work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Native-Splunk-APP-on-WIndows-Azure-AD-Can-t-make-It-work/m-p/226772#M73527</link>
      <description>&lt;P&gt;Thank you for answering, I filled the fields with the information present in FederationMetadata, but I tried many different information in EntityID like the app url... but It doesn't works anyway... I AM using the Splunk APP in Azure AD from their gallery, and It is not that simple... there's NO "how to" and as shown in right/down corner the link "View Splunk configuration Instructions" do NOT link to a "how to".&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 18:11:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Native-Splunk-APP-on-WIndows-Azure-AD-Can-t-make-It-work/m-p/226772#M73527</guid>
      <dc:creator>freaklin</dc:creator>
      <dc:date>2016-06-24T18:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: (Native) Splunk APP on WIndows Azure AD - Can't make It work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Native-Splunk-APP-on-WIndows-Azure-AD-Can-t-make-It-work/m-p/226773#M73528</link>
      <description>&lt;P&gt;Yeah sorry about no "how to" link being present I am going to enumerate the steps for you below.&lt;/P&gt;

&lt;P&gt;1) Login to &lt;A href="https://manage.windowsazure.com"&gt;https://manage.windowsazure.com&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;2) Navigate to your directory by selecting the Azure Active Directory on the left hand pane, this will expose all the directories that are present. If you want a separate directory then create one, or else select the directory in which you want users to access splunk.&lt;/P&gt;

&lt;P&gt;3) Click on "APPLICATIONS" tab, then go to "ADD" button on the bottom banner and click it. Select the option "Add an application from the gallery". This should be the second option.&lt;/P&gt;

&lt;P&gt;4) This pops up "Add an application for my organization to use", go to the search box on the top right hand side and type "splunk", then search for the application by clicking on the search icon ( magnifying glass)&lt;BR /&gt;
There is a lot of text on the right hand column of the page put your cursor there and hit tab (because of lot of text the text box is hidden and the page is not scrollable), this will show a "DISPLAY NAME" text box on the bottom of the page, fill-it with the name that you want this application to show up in your list of applications. We will call it "SplunkSamlAppForAzure"&lt;BR /&gt;
Click on the check mark on the bottom.&lt;/P&gt;

&lt;P&gt;5) Click on the app you just created in you applications pane.&lt;/P&gt;

&lt;P&gt;6) On the next pane check on "Microsoft Azure AD Single Sign-On" (first option).&lt;/P&gt;

&lt;P&gt;7) a)Fill in the SIGN ON URL, this is the landing page on which users are taken to in case of IdP initiated flow.&lt;BR /&gt;
       You can follow the tool tip and configure this to : &lt;A href="https://YOUR_SPLUNK_SERVER_URL/en-US/app/launcher/home"&gt;https://YOUR_SPLUNK_SERVER_URL/en-US/app/launcher/home&lt;/A&gt;&lt;BR /&gt;
    b) Fill in IDENTIFIER field with entity id of Splunk, to uniquely identify Splunk within the Azure Directory.&lt;BR /&gt;
         We will set it to our splunk instance "&lt;A href="https://mrt.sv.splunk.com:8001"&gt;https://mrt.sv.splunk.com:8001&lt;/A&gt;"&lt;BR /&gt;
   c)Fill in REPLY URL field with the &lt;A href="https://YOUR_SPLUNK_SERVER_URL/saml/acs"&gt;https://YOUR_SPLUNK_SERVER_URL/saml/acs&lt;/A&gt;&lt;BR /&gt;
    d) Leave "Configure the certificate used for federated single sign-on (optional)." unchecked, you may want to explore this if you need to select a specific cert , or create a new cert to sign the assertions with. We will let it pick a default cert in this configuration.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; Go to the next page.&lt;BR /&gt;
a) Download metadata this will be needed to configure splunk with IdP settings.&lt;BR /&gt;
b) You can skip this as directions for configuring splunk havent been added yet.&lt;BR /&gt;
c) Check the checkbox to confirm you have configured splunk.&lt;BR /&gt;
d)Go to the next 2 pages.&lt;/P&gt;

&lt;P&gt;9) Go to "ATTRIBUTES" tab on the top and click on it&lt;BR /&gt;
a) click on add user attribute and give it name "realName" for value select user.displayname.&lt;BR /&gt;
b) Add another attribute and give it name "mail" for value select user.mail&lt;BR /&gt;
c) Click on "Apply Changes" on the bottom of the page.&lt;/P&gt;

&lt;P&gt;10) Click on the blue cloud with a thunderbolt icon (on the left of "DASHBOARD" tab) to go to the screen and assign users to the application. Click on "Assign Accounts" and then add the users that you want to have access to the application.&lt;/P&gt;

&lt;P&gt;We map splunk roles to the groups a user is part of in Azure Active directory. Typically the users are already as part of groups based on their role within the organization like "it admins", or "dev" or "test". Specifically for Azure AD we map them to ids of groups. We recommend to assign users from known groups so that when a user authenticates and his group object ids are sent in the authentication response are present in the role mapping present in splunk.&lt;/P&gt;

&lt;P&gt;Assign users to the application.&lt;/P&gt;

&lt;P&gt;11) Collect information about Groups that will be used to sign in to splunk. IdP in the saml assertion returns the groups that a user belongs to, on Splunk we map those groups to a Splunk Role. Azure AD instead of sending group names sends string identifiers for group id's we need to collect this information from Azure AD page. The object Id for group can be found by going to your Directory Page and then navigating to the group whose Object Id is to be retrieved.&lt;/P&gt;

&lt;P&gt;Configure Splunk:&lt;/P&gt;

&lt;P&gt;1) Configure "Group Object Id" to "Splunk Role" mapping.&lt;BR /&gt;
a) Go to SAML configuration page. Click on "New Group" button on the top right hand side of the screen.&lt;BR /&gt;
b) In the text box add "Group Object Id" that you collected in Step 11.&lt;BR /&gt;
c) Select the Splunk group that you want to map the user to.&lt;BR /&gt;
d) Hit Save.&lt;/P&gt;

&lt;P&gt;2) Import Azure AD metadata.&lt;BR /&gt;
a) Go to "SAML Configuration" button on right hand side on the corner.&lt;BR /&gt;
b) Click on "MetaData XML File" and upload the metadata file that you downloaded in Step 9.&lt;BR /&gt;
c) Fill entity id, this should be the same value as "IDENTIFIER" as you configured in 7.&lt;BR /&gt;
d) Scroll down on the page and go to "Advance Settings" section and set values as&lt;BR /&gt;
    1) "Attribute Alias Role" : &lt;A href="http://schemas.microsoft.com/ws/2008/06/identity/claims/groups"&gt;http://schemas.microsoft.com/ws/2008/06/identity/claims/groups&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Save configuration: logout and try to login again&lt;/P&gt;

&lt;P&gt;Let me know how it goes.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 20:49:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Native-Splunk-APP-on-WIndows-Azure-AD-Can-t-make-It-work/m-p/226773#M73528</guid>
      <dc:creator>rdimri_splunk</dc:creator>
      <dc:date>2016-06-24T20:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: (Native) Splunk APP on WIndows Azure AD - Can't make It work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Native-Splunk-APP-on-WIndows-Azure-AD-Can-t-make-It-work/m-p/226774#M73529</link>
      <description>&lt;P&gt;Thank you so much! it works! This "how to" just killed the question! &lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2016 20:28:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Native-Splunk-APP-on-WIndows-Azure-AD-Can-t-make-It-work/m-p/226774#M73529</guid>
      <dc:creator>freaklin</dc:creator>
      <dc:date>2016-06-27T20:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: (Native) Splunk APP on WIndows Azure AD - Can't make It work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Native-Splunk-APP-on-WIndows-Azure-AD-Can-t-make-It-work/m-p/226775#M73530</link>
      <description>&lt;P&gt;Thanks a lot &lt;STRONG&gt;rdimri_splunk&lt;/STRONG&gt; this how to was very helpfull&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2016 20:32:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Native-Splunk-APP-on-WIndows-Azure-AD-Can-t-make-It-work/m-p/226775#M73530</guid>
      <dc:creator>fabiocaldas</dc:creator>
      <dc:date>2016-06-27T20:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: (Native) Splunk APP on WIndows Azure AD - Can't make It work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Native-Splunk-APP-on-WIndows-Azure-AD-Can-t-make-It-work/m-p/226776#M73531</link>
      <description>&lt;P&gt;has anybody run across the issue of too many groups to get passed via the saml response?  I am seeing a groups.link like this:&lt;BR /&gt;
&lt;A href="http://schemas.microsoft.com/claims/groups.link"&gt;http://schemas.microsoft.com/claims/groups.link&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;there is a 150 group limit in Azure AD's saml implementation  so any overage would be returned as a link instead of a list of groups.  any idea what to do in that case to get the group names?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 11:38:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Native-Splunk-APP-on-WIndows-Azure-AD-Can-t-make-It-work/m-p/226776#M73531</guid>
      <dc:creator>jlstanley</dc:creator>
      <dc:date>2017-10-17T11:38:04Z</dc:date>
    </item>
  </channel>
</rss>

