![](/img/trans.png)
[英]Authenticate in IBM WebSphere Portal using Facebook API
[英]Unable to Authenticate at Azure Portal
我已經使用https://github.com/satalyst/powerbi-rest-java在azure門戶進行身份驗證以將power bi報告嵌入到我的應用程序中。
有一個名為Office365Authenticator的類,我曾使用其憑據進行身份驗證。 我提供了
密碼(Azure門戶登錄密碼)
Office365Authenticator廣告=新的Office365Authenticator(CLIENT_ID,TENANT,USERNAME,PASSWORD);
但這會引發錯誤
{"error":"invalid_request","error_description":"AADSTS90019: No tenant-identifying information found in either the request or implied by any provided credentials.\r\nTrace ID: 948699d9-0f5d-4dd8-af3d-xxxxxxxxxxxx\r\nCorrelation ID: 27a9bdc9-90c1-4b40-9fe8-xxxxxxxxxxxx\r\nTimestamp: 2019-03-07 14:27:04Z"}
我進行了搜索,但是沒有確切的線索,當我確認租戶ID正確並且用戶與此租戶ID相關聯時,在我的情況下會發生這種情況,如所附圖像所示。
任何幫助將不勝感激。
要使用ROPC(用戶名和密碼),您應該具有以下參數:
1. client_id: your application id in the azure portal
2. client_secret: you could create this key in the application
3. grant_type:password
4. username: the user account that you want in the azure portal
5. password: the password for your account
6. scope: https://graph.microsoft.com/User.Read email openid(here use the microsoft graph api as an example, and the related permissions: User.Read, email, openid)
有關詳細信息,請參閱此處 。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.