File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -141,14 +141,16 @@ private string GetJwtToken()
141141 {
142142 Claims = new Dictionary < string , object >
143143 {
144- { "scp" , "user_impersonation" } ,
145- { "sub" , "l3_roISQU222bULS9yi2k0XpqpOiMz5H3ZACo1GeXA" } ,
146- { "ver" , "1.0" } ,
147- // Graph Connector Service
148- { "appid" , "56c1da01-2129-48f7-9355-af6d59d42766" }
144+ // Microsoft Graph Change Tracking
145+ { "azp" , "0bf30f3b-4a52-48df-9a82-234910c4a086" } ,
146+ // client cert auth
147+ { "azpacr" , "2" } ,
148+ { "tid" , _graphConnectorConfiguration . Tenant ?? "" } ,
149+ { "ver" , "2.0" }
150+
149151 } ,
150152 Expires = DateTime . UtcNow . AddMinutes ( 60 ) ,
151- Issuer = $ "https://sts.windows.net /{ _graphConnectorConfiguration . Tenant } /",
153+ Issuer = $ "https://login.microsoftonline.com /{ _graphConnectorConfiguration . Tenant } /v2.0 ",
152154 Audience = _graphConnectorConfiguration . Audience ,
153155 SigningCredentials = signingCredentials
154156 } ;
You can’t perform that action at this time.
0 commit comments