{"action":"opened","issue":{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-cordova/issues/86","repository_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-cordova","labels_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-cordova/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-cordova/issues/86/comments","events_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-cordova/issues/86/events","html_url":"https://github.com/AzureAD/azure-activedirectory-library-for-cordova/issues/86","id":170811615,"number":86,"title":"Using cordova-plugin-ms-adal on vanilla ionic2 project does not recognize Microsoft namespace","user":{"login":"alvaradojl","id":3758486,"avatar_url":"https://avatars.githubusercontent.com/u/3758486?v=3","gravatar_id":"","url":"https://api.github.com/users/alvaradojl","html_url":"https://github.com/alvaradojl","followers_url":"https://api.github.com/users/alvaradojl/followers","following_url":"https://api.github.com/users/alvaradojl/following{/other_user}","gists_url":"https://api.github.com/users/alvaradojl/gists{/gist_id}","starred_url":"https://api.github.com/users/alvaradojl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvaradojl/subscriptions","organizations_url":"https://api.github.com/users/alvaradojl/orgs","repos_url":"https://api.github.com/users/alvaradojl/repos","events_url":"https://api.github.com/users/alvaradojl/events{/privacy}","received_events_url":"https://api.github.com/users/alvaradojl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-12T07:08:53Z","updated_at":"2016-08-12T07:08:53Z","closed_at":null,"body":"### Issue Description\r\nAfter setting up a vanilla ionic2 project and updating home.ts to include a login function being called by a button in home.html with the following line of code:\r\n` let authContext =  new Microsoft.ADAL.AuthenticationContext(\"https://login.microsoftonline.com/common\");`\r\n\r\nThere is a run-time exception with the message:\r\n\r\n> Microsoft is not defined.\r\n\r\n### Repro Environment Details\r\n1. Installed plugin version:  cordova-plugin-ms-adal 0.7.1 \"ADAL for Cordova\"\r\n2. Target Platform: Android\r\n3. Test device and OS version: Nexus 9 Android 6\r\n4. Using Cordova CLI \r\n3. No SSO enabled\r\n"}}
{"actor":{"display_login":"alvaradojl"}}