Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

getting issue in sign in click #4

Open
kunalvirk opened this issue Dec 9, 2015 · 3 comments
Open

getting issue in sign in click #4

kunalvirk opened this issue Dec 9, 2015 · 3 comments

Comments

@kunalvirk
Copy link

getting this when clicking on sign in

Sign In
Sorry, but we’re having trouble signing you in.
We received a bad request.

Additional technical information:
Correlation ID: bfb8f5bb-eb6a-4775-8cad-b57b6171d89d
Timestamp: 2015-12-09 06:44:48Z
AADSTS90014: The request body must contain the following parameter: 'client_id'.

@PascalCeccaldi
Copy link

Hi,

Have you set the "client id" and "client key" settings in the setting part ?
As you should know those parameters are given when you create your app on powerbi.com.

@kunalvirk
Copy link
Author

hi,
N0, i donot have any any about this i only know powerbi login credentials please can you tell how to pass this cleint id and client key

@skymanaditya1
Copy link

Register your application here -> https://dev.powerbi.com/apps

Sign in with your Power BI service account.

Provide the App Name and choose "Server Side Web App" in App Type if it is asp.net web application and "Native App" if it is a Console Application.

Your redirect URL has to be configured next. If you are using an asp.net web application, the redirect URL has to be the URL of the page where Power BI redirects the request after the authentication is complete.
For a Console Application use this URL -> https://login.live.com/oauth20_desktop.srf

Select your permissions and Register App.

In case, you choose to register a web application, the Client ID and the Client Key are generated. Update these values in the web.config file.

The Client ID is used to identify the application (web or console) to the user whose permissions it's trying to access.
The Client Key identifies the web application to the Azure Active Directory.

If you choose to register a Console Application, only the Client ID is generated.

Update the Client ID in the web.config file. It serves the same purpose as the Client ID returned while register web application.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants