Accessing tableau server from cloud machine - tableau-api

I wanted to embedded tableau dashboard into webapp which is hosted on Azure VM.
But i am unable to access tableau server from VM machine.
Any idea how to achieve this?

You will need an account on the Tableau Server. Everybody who needs access to view an embedded dashboard will need an account on the Tableau Server. I assume you'll use SAML or Trusted Auth?

Related

Tableau Service Management vs Tableau Server

I am a beginner of Tableau.
I have gone through the Trusted Authentication on Tableau online help.
But I found that to add the web server IP address to https://tsm-computer-name:8850.
And I found that Tableau Server domain and Ip address are also required.
So I just want to know the following questions.
Are Tableau Server and Tableau Service Management on different computers?
If so, where should TSM be installed and how?
How do I create a TSM credential (admin)?
They way I differentiate two, is TSM (Tableau Services Manager) is the backend admin account and is used for configuring and licensing Tableau Server.
The Tableau Server Administrator account is used to administer the content published to Tableau Server, user/ groups and permissions.
TSM is automatically installed when installing Tableau Server, and the account used to log into TSM is typically the account being used to remote into the machine hosting Tableau Server. I found a decent guide using their online help.
https://onlinehelp.tableau.com/current/server/en-us/sign_in_tsm.htm
Also, a good way to verify which user can/is being used for TSM is to try running a TSM command from CLI. For example, running ' TSM Status -v ' should prompt you for a password for X user, this is what you would log into the TSM UI with.
Tableau Services Manager (TSM) replaces multiple tools from previous versions of Tableau Server: Tableau Server Configuration, tabadmin command line, Tableau Server
Monitor, and Manage License Keys.
Online guide gives more details.
https://www.tableau.com/sites/default/files/whitepapers/tsm_slideshare.pdf

Tableau Server Could not locate unexpired trusted ticket local network

I have two servers , Server #1 one hosted in the office using the office network (this hosts the tableau server on ubuntu server) and the other server Server #2 sitting in another collocated network. The web application is hosted in server #2 and the tableau dashboards are embended on the web application.
When I try to access the application from another public network , the dashboards are working very well, however when I try to access the dashboards from the office network (which hosts the tablueau server ), I get the following error =>
That error is generally caused by one of two issues
The IP Address of Webserver hosting the IFrame was not whitelisted under Trusted Authentication in TSM or Add Trusted IP Addresses or Host Names to Tableau Server
or
The trusted user does not exist on the Tableau server and/or the username does not match what was passed to the webserver from your web application hosting the Iframe.
We have trusted_ticket_expiry set to 240 minutes.
https://kb.tableau.com/articles/issue/changing-the-expiration-timeout-of-trusted-tickets

Remove certificate from old server and install on new server

We host a website in our company.
A certificate was issued to www.ourdomainname.com from the company IT department.
Now we want to move the website to azure and install the certificate there.
I already exported the certificate with private key exported set to true from the server.
1.) What will happen when the certificate is installed on azure when it is also installed on our company server?
2.) What will happen when the website on our server is stopped in the server and the certificate is then imported to the azure website?
3.) How can I guarantee a soft transition time without any break?
The aim is:
Website on the company server going to be deleted and the website on azure is used instead.
What will happen when the certificate is installed on azure when it is also installed on our company server?
web site will be available via SSL in Azure too.
What will happen when the website on our server is stopped in the server and the certificate is then imported to the azure website?
web site on your server will be inaccessble.
How can I guarantee a soft transition time without any break?
it is more about DNS management. There is no much work with SSL. You just install SSL on both internal and Azure servers, so clients can access both. Test if web site on Azure works the same way as on your internal server. Then point all clients (via DNS) to a web site on Azure. When all clients move and there are no references to internal server, you can safely shutdown it.
The SSL Certificate which was exported from the current server has to be imported in Azure. The format of the certificate has to be PFX.
Now, in the DNS Management , you need to edit the A record for the URL and point it to the IP address of Azure. This will make sure that any request made will be handled by Azure .

Tableau - Server Access Right

I have created a Tableau site for trial basis.
I do have all privilege for my site.
How do I get server administrator right on Tableau Online?
You can get a brief idea of server and site administrator from below link
https://onlinehelp.tableau.com/current/server/en-us/sites.htm
The server administrator sets up Tableau Server—they install and upgrade it, configure the services that run on Tableau Server, back it up, and perform other tasks that pertain to running Tableau Server as a whole. Server administrators also create sites as needed. (Site administrators don't have permissions to create sites.)
On local tableau server I am aware of server administrator. For Online tableau I am not aware of server administrator.

How to access tableau server without login

I am new to tableau and I want to integrate tableau server in our application through Iframe, I am passing HTTP URL with authentication details like username and password but whenever I am accessing tableau it is asking for username and password.So please suggest me that how i can access tableau without redirecting to login page.
According to the Tableau community you can't do this through the URL:
There is no built-in mechanism to pass a username/password on the URL
as doing so gives "bad people" a super-duper-easy way to hack into
Tableau Server itself. As a hacker, all I'd have to do is "sit on the
wire", watch requests go to Tableau, and I could harvest everyone's
usernames and passwords. Scary stuff!
But there is a solution for built in credentials if you have a security mechanism on your end:
You might want to read up on Tableau Server's ability to do Trusted
Tickets authentication. You could essentially tell Tableau Server to
"Trust" whatever other security mechanism is authenticating your users
(I assume you have one). If you don't have another mechaism to
authenticate users before they get to Tableau Server, there's not too
much you can do.
More on Trusted Authentication from Tableau website:
Trusted authentication simply means that you have set up a trusted
relationship between Tableau Server and one or more web servers. When
Tableau Server receives requests from these trusted web servers it
assumes that your web server has handled whatever authentication is
necessary
Setting this up requires you to add the trusted IP addresses to your Tableau server. This is done by stopping tabadmin and then running the following command, followed by saving this config and restarting:
tabadmin set wgserver.trusted_hosts "<trusted IP addresses or host names>"
Once this is done you have to configure your web server so it can request tickets from Tableau server using a POST request to http://<server name>/trusted. These tickets must then be included into the script.
Hope this helps.