Peter Ombwa

Results 217 comments of Peter Ombwa

Try this. I have used it to authenticate to Azure Active Directory when call Microsoft Graph as shown bellow. The scopes are the permisions for graph since am using Oauth...

@timotheeguerin, yes, this is a demand from a service. MS Graph API supports `GET /deviceManagement/microsoft.graph.getRoleScopeTagsByIds(ids=["1","2","3"])`, which can only be described with a parameter object of `Content.application/json`. See the discussion in...

Thanks for following up on this. Unfortunately, this is one of those API that requires you to build a hash table with the id of the reference object to be...

I like @KirkMunro's suggestion. We can consider adding this for top level entities, which we know their default properties. This will be an opt-in behavior via a switch parameter.

As part of this task, we should also suppress `*-MgServicePrincipalFederatedIdentityCredential*` commands as they are internal, and are not documented by the workload - https://docs.microsoft.com/en-us/graph/api/resources/federatedidentitycredential?view=graph-rest-beta&viewFallbackFrom=graph-rest-beta. #1384

Parameter suppression is supported in AutoREST.PowerShell v3+ and not AutoREST.PowerShell v2. See https://github.com/Azure/autorest.powershell/blob/msgraph/docs/directives.md#directive-scenarios This ask will have to wait until we release MG v2 that's generated using AutoREST.PowerShell v3. See...

@timayabi2020, we can't serialize non-JSON responses to JSON. We should simply throw an error when the specified `-OutputType` does not match the response content-type. The only exception is `-OutputType HttpResponseMessage`...

@exwhyz, which properties of the [user entity](https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-beta#properties) are you looking for? Please note that `.AdditionalProperties` on the user response object only holds "additional" properties not currently available in the user...

@exwhyz, Got it! This is by design. `@odata.context` is a service annotation that holds the [context URL](https://docs.microsoft.com/en-us/openspecs/odata_standards/ms-odatajson/1259ce6b-273d-4c01-9e79-48a0be630f39?msclkid=212957a2ac8111eca3568f1af8216d95) and is not a property of a user entity. This means that annotation...

- [x] We should investigate if AutoREST supports links #1302.