

I created a new App with application type "Native", altered my code with the new secret access key and application client ID and I was able to start pulling down. It's application type was set to "Web \ API" in Azure which was incorrect apparently. I was using an app that someone had created prior to me taking on the project. Turns out the problem the entire time was the App type in Azure. Ok so after messing with the API and reading I decided to start over from scratch. $output = (Invoke-RestMethod -Uri $uri –Headers $authHeader –Method Get –Verbose).value # Building Rest Api header with authorization token $token = GetAuthToken -TenantName $tenant $authResult = $authContext.AcquireToken($resourceAppIdURI, $clientId,$redirectUri, "Auto") $authContext = New-Object ".AuthenticationContext" -ArgumentList $authority $redirectUri = "urn:ietf:wg:oauth:2.0:oob" $adal = "$\Microsoft SDKs\Azure\PowerShell\ServiceManagement\Azure\Services\.WindowsForms.dll" I haven't been able to pull a single Skype for Business activity report using Graph. Invoke-RestMethod : The remote server returned an error: (400) Bad Request. $result = Invoke-RestMethod -Headers -Uri $exportSfB –Method Get -VerboseĬan someone please have a look at this REST code and tell me what they think? $HeaderValue = "Bearer " + $admauth.access_token #Construct the header value with the access_token just recieved $admAuth=Invoke-RestMethod -Uri $Uri -Body $Body -Method Post This handles the deserialization of the JSON result. $ContentType = "application/x-www-form-urlencoded" $exportSfB = "(view='Detail',date='')/content" #Define Microsoft Graph - Skype for Business reports interface URI Thanks in advance, and please, if you need further Information, I could provide it.#Obtaining oAuth2 Token from Microsoft Azure \ communicate with Microsoft Graph API Maybe someone here has the magic solution (I hope it). I tried also modifing the starter script ( ), proxifing the skype with tsocks, but all without success. In my home I don't need proxy and it works like a charm

Release&clientId=5c02b3d4d7b7e468f7ef81d0cfbefafa, Proxy: true, Attempt: 1/1 The weird thing is, that when skype starts, it seems to recognize the proxy (It is a assumption) Downloading ECS Config I have to remove from the URLs because I'm new here.

Ttps%3A%2F%%2Foauth20_desktop.srf&scope=service%3A%%3A%3AMBI_SSL&response_type=token&cobrandid=90010&locale=en-US&client_flight=hsu%2Chlm%ĢChld%2CReservedFlight33%2CReservedFlight67&psi=skype&uaid=5c02b3d4d7b7e468f7ef81d0cfbefafa&lw=1įailed loading page. When I check Debug Logs, I get the following message: Redirect to login at /oauth20_authorize.srf?client_id=00000000480BC46C&redirect_uri=h Please check your internet connection and try again. I have installed Skype for Linux Beta (v5.3.0.1) and I'm getting the following message when I open it. In our organization, to navigate through internet, you need to configure the proxy server. I was trying to fix it of several ways but without success.
