Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
rolmontero
Partner - Creator
Partner - Creator

Qlik Cloud OAuth Excel Add-in

Hello everyone,

 

I am trying to use the newly added Excel add-in to start working with this sort of report. However, I am getting an error message when I try to connect to Qlik with Excel in Office365. 

 

rolmontero_0-1702483045551.png

On the other hand, from the OAuth side, I have this configuration.

rolmontero_1-1702483119548.png

 

Does anyone know what am I missing?

 

Thanks a lot!

Labels (2)
2 Solutions

Accepted Solutions
Frank_S
Support
Support

Suggest creating another oAuth client and ensure you have set the attributes properly.

Start with a broad scope to begin with (use 'user default'. you can narrow the scope later)

(based on your image you do not have use default at all. this is a requirement)

Recheck all the steps shown below to ensure they are setup accurately.

Creating an OAuth client for the Qlik add-in for Microsoft Excel

An OAuth client configuration is required to install the Qlik add-in for Microsoft Excel. The add-in is used by report developers to prepare report templates which control output of tabular reports from the Qlik Sense app.

For OAuth to work in the add-in, the OAuth client needs to be configured with the exact configuration shown below.

Do the following:

  1. In the Management Console in Qlik Cloud, go to OAuth.

  2. Click Create new.

  3. In the Client type dropdown menu, select Single-page app. More fields will appear.

  4. Insert a Name. The Description is optional.

  5. At minimum, select the checkbox to include the user_default scope. You can include other scopes in the configuration, but without user_default, installation will not work.

    See Creating an OAuth client for a full description of each available scope.

  6. In the Add redirect URLs field, insert the URL of your tenant, followed by the fixed string: /office-add-ins/oAuthLoginSuccess.html

    The result should look like this: https://YourServer/office-add-ins/oAuthLoginSuccess.html

  7. Click Add.

  8. In the Add allowed origins field, insert your tenant URL and click Add.

  9. Click Create.

  10. The Copy your Client ID window appears. You can choose to copy the Client ID to clipboard, or click Done to close the window.

After you have created the OAuth client, obtain the link to the updated manifest XML file from the Management Console. Go to the Settings page, and navigate to Feature controlExcel add-in within the Management Console. Use this link to deploy and install the add-in.

For additional example setup, refer to this image below.
oauth setup for Tab reporting.png

 

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

Frank_S
Support
Support

New Article related to this issue can be found here

https://community.qlik.com/t5/Official-Support-Articles/Tabular-Reporting-OAUTH-Error-Status-400-res...

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

4 Replies
Frank_S
Support
Support

Suggest creating another oAuth client and ensure you have set the attributes properly.

Start with a broad scope to begin with (use 'user default'. you can narrow the scope later)

(based on your image you do not have use default at all. this is a requirement)

Recheck all the steps shown below to ensure they are setup accurately.

Creating an OAuth client for the Qlik add-in for Microsoft Excel

An OAuth client configuration is required to install the Qlik add-in for Microsoft Excel. The add-in is used by report developers to prepare report templates which control output of tabular reports from the Qlik Sense app.

For OAuth to work in the add-in, the OAuth client needs to be configured with the exact configuration shown below.

Do the following:

  1. In the Management Console in Qlik Cloud, go to OAuth.

  2. Click Create new.

  3. In the Client type dropdown menu, select Single-page app. More fields will appear.

  4. Insert a Name. The Description is optional.

  5. At minimum, select the checkbox to include the user_default scope. You can include other scopes in the configuration, but without user_default, installation will not work.

    See Creating an OAuth client for a full description of each available scope.

  6. In the Add redirect URLs field, insert the URL of your tenant, followed by the fixed string: /office-add-ins/oAuthLoginSuccess.html

    The result should look like this: https://YourServer/office-add-ins/oAuthLoginSuccess.html

  7. Click Add.

  8. In the Add allowed origins field, insert your tenant URL and click Add.

  9. Click Create.

  10. The Copy your Client ID window appears. You can choose to copy the Client ID to clipboard, or click Done to close the window.

After you have created the OAuth client, obtain the link to the updated manifest XML file from the Management Console. Go to the Settings page, and navigate to Feature controlExcel add-in within the Management Console. Use this link to deploy and install the add-in.

For additional example setup, refer to this image below.
oauth setup for Tab reporting.png

 

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Frank_S
Support
Support

New Article related to this issue can be found here

https://community.qlik.com/t5/Official-Support-Articles/Tabular-Reporting-OAUTH-Error-Status-400-res...

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
rolmontero
Partner - Creator
Partner - Creator
Author

Hi @Frank_S ,

 

Now, the tabular report is working!

 

Have a nice day!

Frank_S
Support
Support

Hi @rolmontero 

I am pleased to here it is now working for you!

Cheers!

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!