https://microsoft.com/devicelogin设备登录报错000000000000,提示权限问题,但是权限已经赋权

%3CLINGO-SUB%20id%3D%22lingo-sub-1342535%22%20slang%3D%22zh-CN%22%3E%3CA%20href%3D%22https%3A%2F%2Fmicrosoft.com%2Fdevicelogin%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmicrosoft.com%2Fdevicelogin%3C%2FA%3E%20device%20login%20error%200000000000000000%2C%20prompting%20permission%20issues%2C%20but%20permissions%20have%20been%20empowered%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1342535%22%20slang%3D%22zh-CN%22%3E%3CDIV%20class%3D%22debug-details-header%22%3E%3CDIV%20class%3D%22bold%20header%22%3ETroubleshooting%20details%3C%2FDIV%3E%3CDIV%3EIf%20you%20contact%20your%20administrator%2C%20send%20it%20this%20information.%3C%2FDIV%3E%3CA%20href%3D%22https%3A%2F%2Flogin.microsoftonline.com%2Fcommon%2Freprocess%3Fctx%3DrQIIAdNiNtIzsFIxMUkyNjFLTtRNtDQw0DVJNDPRtTRMS9Y1TDE2TDOxNEs0TTEuEuISSFfZo-WeIeW5TePBkz1pClNWMYpllJQUFFvp65eXl-slJWamlOol5-fqX2BkvMUk4O9YWpJh5JJalpmcCmK-YuIrTs1JTS6JT0xOzi_NK1nFrGIAAca6IBJCJMNYMLCJmTe_KD0xL7MqsSQzP6_4FDNvQFFmXklqUbFeUGpiygUWplcsPAbMVhwcXAIMEgwKDD9YGBexAh1s9EXdVXRJnneP5onbJnbLGCawMX5gY-xgZzjAyQgA0%26amp%3Bsessionid%3Da13af9b7-9d0b-48bc-9fd7-83a2f1b97cc9%23%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3ECopy%20information%20to%20the%20clipboard%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CSPAN%20class%3D%22debug-details-notification%20fade-in-lightbox%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3ECopied%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22override-ltr%22%3E%3CDIV%3E%3CSPAN%20class%3D%22bold%22%3ERequest%20Id%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%3Eb6c47e97-ac87-4362-90d4-69373af3b700%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%20class%3D%22bold%22%3ECorrelation%20Id%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%3E2abc2467-6847-491a-b628-e0e4bc662094%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%20class%3D%22bold%22%3ETimestamp%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%3E2020-04-28T05%3A13%3A25Z%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%20class%3D%22bold%22%3EMessage%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%3EAADSTS650053%3A%20The%20application%20'print-server-xudong'%20asked%20for%20scope%20'Printers.Read'%20that%20n't%20on%20the%20resource%20'00000003-0000-0000-c000000000000'.%20Contact%20the%20app%20vendor.%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1352063%22%20slang%3D%22en-US%22%3ERe%3A%20%3CA%20href%3D%22https%3A%2F%2Fmicrosoft.com%2Fdevicelogin%E8%AE%BE%E5%A4%87%E7%99%BB%E5%BD%95%E6%8A%A5%E9%94%99000000000000%EF%BC%8C%E6%8F%90%E7%A4%BA%E6%9D%83%E9%99%90%E9%97%AE%E9%A2%98%EF%BC%8C%E4%BD%86%E6%98%AF%E6%9D%83%E9%99%90%E5%B7%B2%E7%BB%8F%E8%B5%8B%E6%9D%83%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmicrosoft.com%2Fdevicelogin%E8%AE%BE%E5%A4%87%E7%99%BB%E5%BD%95%E6%8A%A5%E9%94%99000000000000%EF%BC%8C%E6%8F%90%E7%A4%BA%E6%9D%83%E9%99%90%E9%97%AE%E9%A2%98%EF%BC%8C%E4%BD%86%E6%98%AF%E6%9D%83%E9%99%90%E5%B7%B2%E7%BB%8F%E8%B5%8B%E6%9D%83%3C%2FA%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1352063%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F616585%22%20target%3D%22_blank%22%3E%40rits_ll%3C%2FA%3E%26nbsp%3Bcan%20you%20provide%20a%20bit%20more%20context%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20seems%20like%20you%20are%20making%20a%20token%20request%20but%20with%20the%20wrong%20resource%20(Graph%20resource%20GUID%20)in%20the%20request.%20How%20are%20you%20calling%20the%20API%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1372576%22%20slang%3D%22zh-CN%22%3ERe%3A%20%3CA%20href%3D%22https%3A%2F%2Fmicrosoft.com%2Fdevicelogin%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmicrosoft.com%2Fdevicelogin%3C%2FA%3E%20device%20login%20error%20000000000000000%2C%20prompts%20permission%20questions%2C%20but%20permissions%20have%20been%20empowered%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1372576%22%20slang%3D%22zh-CN%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F572522%22%20target%3D%22_blank%22%3E%40Saurabh_Bansal%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20response.%3C%2FP%3E%3CP%3EThis%20is%20is%20the%20same%20with%20ticket%2C%20who%20is%20is%20submitted%20by%20us%20as%20well.%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20is%20more%20detail%20in%20it.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fdiscussions%2Fcannot-access-universal-print-printer-registration-api%2Fm-p%2F1361946%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fdiscussions%2Fcannot-access-universal-print-printer-registration-api%2Fm-p%2F1361946%3C%2FA%3E%3C%2FP%3E%3CP%3EWill%20you%20you%20have%20had%20a%20look%20and%20give%20us%20some%20ss%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1372829%22%20slang%3D%22en-US%22%3ERe%3A%20%3CA%20href%3D%22https%3A%2F%2Fmicrosoft.com%2Fdevicelogin%E8%AE%BE%E5%A4%87%E7%99%BB%E5%BD%95%E6%8A%A5%E9%94%99000000000000%EF%BC%8C%E6%8F%90%E7%A4%BA%E6%9D%83%E9%99%90%E9%97%AE%E9%A2%98%EF%BC%8C%E4%BD%86%E6%98%AF%E6%9D%83%E9%99%90%E5%B7%B2%E7%BB%8F%E8%B5%8B%E6%9D%83%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmicrosoft.com%2Fdevicelogin%E8%AE%BE%E5%A4%87%E7%99%BB%E5%BD%95%E6%8A%A5%E9%94%99000000000000%EF%BC%8C%E6%8F%90%E7%A4%BA%E6%9D%83%E9%99%90%E9%97%AE%E9%A2%98%EF%BC%8C%E4%BD%86%E6%98%AF%E6%9D%83%E9%99%90%E5%B7%B2%E7%BB%8F%E8%B5%8B%E6%9D%83%3C%2FA%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1372829%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F642295%22%20target%3D%22_blank%22%3E%40SongLei%3C%2FA%3E%3CBR%20%2F%3EHello%2C%20it%20looks%20like%20you%20have%20not%20granted%20your%20application%20permission%20yet.%3CBR%20%2F%3EGo%20to%20azure%20AD%20and%20in%20app%20registration%2C%20go%20to%20API%20permission%20to%20grant%20the%20application%20permission.%3CBR%20%2F%3EIn%20addition%2C%20in%20the%20client%20application's%20env%2C%20it%20is%20also%20necessary%20to%20grant%20these%20rights%20to%20the%20scope%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor
故障排除详细信息
如果你联系管理员,请向其发送此信息。
将信息复制到剪贴板 

 

 已复制
Request Id: b6c47e97-ac87-4362-90d4-69373af3b700
Correlation Id: 2abc2467-6847-491a-b628-e0e4bc662094
Timestamp: 2020-04-28T05:13:25Z
Message: AADSTS650053: The application 'print-server-xudong' asked for scope 'Printers.Read' that doesn't exist on the resource '00000003-0000-0000-c000-000000000000'. Contact the app vendor.
3 Replies

@rits_ll can you provide a bit more context?

 

It seems like you are making a token request but with the wrong resource (Graph resource GUID )in the request. How are you calling the API? 

 

@Saurabh_Bansal 

Thank you for your response.

This is the same with another ticket, which is submitted by us as well. 

There is more detail in it.

https://techcommunity.microsoft.com/t5/discussions/cannot-access-universal-print-printer-registratio...

Would you please have a look and give us some suggestions?

@SongLei
Hello, it looks like you have not granted your application permission yet.
Go to azure AD and in app registration, go to API permission to grant the application permission.
In addition, in the client application's env, it is also necessary to grant these rights to the scope