Kristian
Advocate I
9 years agoStatus:
Completed
OAuth2 authentication method doesn't work with OData for Project Online
Hi I work for different Project Online Customers and create some Power BI reports using OData. For several weeks now the Schedule Refresh isn’t working properly. I tested it for few customers with the standard field ProjectName (/_api/ProjectData/[en-us]/Projects?$select=ProjectName) and always get the same error when I try to update the credentials in Power BI Online “You do not have Persmission to show this site” using oAuth2. Here is a step-by-step guide what I’m doing and at which point I get an error. 1. Open Power BI Desktop, Get Data, choose OData Feed, connect, enter OData URL, hit OK, login in with an Organizational account and Load. 2. Choose ProjectName and show it as a list. Save file (Test.pbix) and publish it to Power BI. 3. Go to www.powerbi.com, log in and select schedule refresh in my new datasets. 4. Now I got following warning: Your data source can’t be refreshed because the credentials are invalid. Please update your credentials and try again. Therefore I go to Edit credentials. Hint: There is no gateway connection and my schedule refresh options are all greyed-out. 5. I choose OAuth2 as Authentication method and try to sign in. Now I got following Error. You do not have permission to show this site ActivityId: 2da8b0d3-1cfb-48b6-9582-b66a903de7fb URL: https://preview.powerbi.com/ErrorPage?code=403&errorType=UnsupportedRedirect If needed I can also send some printscreen or other needed information. I would appreciate any help! Thank you in advance. Kind regards Kristian
3 Comments
- driesvdcNew MemberI have experienced similar authentication issues with PowerBI and Project Online, not sure if it exactly the same: Lately I have been unable to connect the PowerBI Content Paack to "Contoso" demo tenants: I have tried all of the authentication methods available, and none has worked.
- chass
Impactful Individual
Please see the step needed to get Oauth working with Power BI https://community.powerbi.com/t5/Service/OData-or-sharepoint-list-oAuth2-authentication-not-working/td-p/53671/page/2 - fbcideas_migusrNew MemberStatus added:Completed
Recent ideas
Power BI - incorrect handling of empty string parameter in DAX query in paginated report
Blank string parameters in paginated reports are treated as empty strings in Power BI Report Builder but as null values in the Power BI Service, resulting in incorrect report output. -> Create a pag...roshinikumarkar1 hour agoMicrosoft EmployeeNew20Views5likes0CommentsAllow NotebookUtils getSecret() to authenticate with Workspace Identity
Current behavior In Microsoft Fabric, notebookutils.credentials.getSecret() authenticates against Azure Key Vault using the identity of the user who executes the notebook. This behavior appli...tmihara3 hours agoNew MemberNew17Views1like1CommentAllow us to rename fabric data agents published to m365
If we use deployment pipelines to promote fabric data agents between dev, test/UAT, and prod fabric workspaces, we need to keep the name of the fabric agent the same in each workspace. If we want to ...PeterDaniels10 hours agoAdvocate IIINew187Views0likes2Comments