αϯϓϧίʔυ
https://github.com/AzureAD/azure-
activedirectory-library-for-ruby/blob/dev/
samples/user_credentials_example/app.rb
• Ruby: 2.3.3p222
• adal: 1.0.0
E, [2019-07-19T21:37:07.670568 #98161] ERROR -- ****: Parsed an ErrorResponse with
error: invalid_request and error description: AADSTS90002: Tenant
'>.onmicrosoft.com' not found. This may happen if there are no active
subscriptions for the tenant. Check with your subscription administrator.
Trace ID:
Correlation ID: ****
Timestamp: 2019-07-19 12:37:07Z.
./app.rb:22:in `': uninitialized constant ADAL::FailureResponse (NameError)
Slide 38
Slide 38 text
αϯϓϧίʔυ
https://github.com/AzureAD/azure-
activedirectory-library-for-ruby/blob/dev/
samples/user_credentials_example/app.rb
• Ruby: 2.3.3p222
• adal: 1.0.0
E, [2019-07-19T21:37:07.670568 #98161] ERROR -- ****: Parsed an ErrorResponse with
error: invalid_request and error description: AADSTS90002: Tenant
'>.onmicrosoft.com' not found. This may happen if there are no active
subscriptions for the tenant. Check with your subscription administrator.
Trace ID:
Correlation ID: ****
Timestamp: 2019-07-19 12:37:07Z.
./app.rb:22:in `': uninitialized constant ADAL::FailureResponse (NameError)
https://github.com/AzureAD/azure-
activedirectory-library-for-ruby/issues/
44#issuecomment-340449070
• ʮ͜ͷίϛοτ ID Λ͑ʂʯͱ͍͏
ίϝϯτ͕͋ͬͨ
Issues #44
E, [2019-07-19T22:18:06.199410 #23399] ERROR -- ****: Parsed an ErrorResponse with
error: invalid_request and error description: AADSTS90002: Tenant
'.onmicrosoft.com' not found. This may happen if there are no active
subscriptions for the tenant. Check with your subscription administrator.
Trace ID:
Correlation ID: ****
Timestamp: 2019-07-19 13:18:05Z.
./app.rb:22:in `': uninitialized constant ADAL::FailureResponse (NameError)
Slide 43
Slide 43 text
https://github.com/AzureAD/azure-
activedirectory-library-for-ruby/issues/
44#issuecomment-340449070
• ʮ͜ͷίϛοτ ID Λ͑ʂʯͱ͍͏
ίϝϯτ͕͋ͬͨ
Issues #44
E, [2019-07-19T22:18:06.199410 #23399] ERROR -- ****: Parsed an ErrorResponse with
error: invalid_request and error description: AADSTS90002: Tenant
'.onmicrosoft.com' not found. This may happen if there are no active
subscriptions for the tenant. Check with your subscription administrator.
Trace ID:
Correlation ID: ****
Timestamp: 2019-07-19 13:18:05Z.
./app.rb:22:in `': uninitialized constant ADAL::FailureResponse (NameError)
ಉ͡Τϥʔ͕ग़Δ…
ى͖͍ͯΔࣄΛ֬ೝ͢Δ
RubyͰΞΫηετʔΫϯ͕
औΕͳ͍Β͍͠Ͱ͢…
ͲͷΑ͏ͳΤϥʔ͕ग़͍͔ͯͨʁ
`initialize': A JSON text must at least contain two octets! (JSON::ParserError)
Slide 47
Slide 47 text
ى͖͍ͯΔࣄΛ֬ೝ͢Δ
RubyͰΞΫηετʔΫϯ͕
औΕͳ͍Β͍͠Ͱ͢…
ͲͷΑ͏ͳΤϥʔ͕ग़͍͔ͯͨʁ
`initialize': A JSON text must at least contain two octets! (JSON::ParserError)
Τϥʔ༰͕ҟͳ͍ͬͯΔ
Slide 48
Slide 48 text
ࠩΛ֬ೝ͢Δ
• uninitialized constant ADAL::FailureResponse (NameError)
• TENANT = '.onmicrosoft.com'
• `initialize': A JSON text must at least contain two octets!
(JSON::ParserError)
• TENANT = 'https://login.microsoftonline.com/'
Slide 49
Slide 49 text
ࠩΛ֬ೝ͢Δ
• uninitialized constant ADAL::FailureResponse (NameError)
• TENANT = '.onmicrosoft.com'
• `initialize': A JSON text must at least contain two octets!
(JSON::ParserError)
• TENANT = 'https://login.microsoftonline.com/'
JSON::ParserError Λͯ͠ΈΔ