Open waldekmastykarz opened 1 year ago
I can't comment on GCC High, or DoD, but for regular GCC (aka "GCC Low", or "USGovCloud"), I can share some endpoints.
I'll link the same infographic here as I did on #6093:
For the GCC login API, I'm using the commercial login API (since M365 GCC Low is in Commercial Azure, and Commercial Azure AD/Entra) -- the login endpoint I use is https://login.microsoftonline.com/<TenantID>/oauth2
-- this seems to be working in the latest beta AFAICT, since #6093 is fixed.
For the Power Apps Maker Portal it's https://make.gov.powerapps.us
-- for the APIs, I use the actual tenant (i.e. the API call is to https://my-environment-name.crm9.dynamics.com/api/data/v9.2/myentityname
, and then for the oauth token request resource
parameter, in this case I would use https://my-environment-name.crm9.dynamics.com
).
For the flows API, I use https://gov.api.flow.microsoft.us/providers/Microsoft.ProcessSimple/environments/<EnvironmentId>/flows/<FlowUniqueId>
, and then for the oauth token request, I use a resource
of https://gov.service.flow.microsoft.us/
.
I can screen share and test code if anyone on the team is interested in tackling this in the month of July.
For GCC High we might need to update
api-version
from2020-10-01
to2021-02-01
.
@waldekmastykarz, maybe we could create a v8 issue for this and update all our APIs to this version already?
For GCC High we might need to update
api-version
from2020-10-01
to2021-02-01
.@waldekmastykarz, maybe we could create a v8 issue for this and update all our APIs to this version already?
Let's check if the new version is backwards compatible. Perhaps we don't need to wait for v8
Thanks @BrainSlugs83 for your support in this 👍. Lets try to use this opportunity and try to implement some prototypes and recheck with you if it works 👍.
Hi @BrainSlugs83, I'm interested in supporting non-public cloud tenants for Power Platform commands. The annoying part is of course that I have no way to test my changes.
Are you willing to test my code for USGov tenant?
Looks like for most clouds, I'm able to find the API URL. However, finding the exact resource seems a bit harder. Do you have any documentation about which resources we can use? Also, have you tried using a Power Automate API with a https://management.azure.com
resource token?
In #1931 we've introduced support for non-public clouds on all commands except Power Platform, Power Apps and Power Automate. To complete support for non-public clouds, we need to investigate which APIs we can use, and how we can do it in such a way that the response is consistent across all clouds.
Here are some additional notes about the endpoints that we could use:
GCC: https://gov.api.powerapps.us GCC High: https://high.api.powerapps.us DoD: https://api.appsplatform.us
For GCC High we might need to update
api-version
from2020-10-01
to2021-02-01
.