cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KBejma
Regular Visitor

PowerApps Graph - problem with assignLicenses

Hi,

I would like to assign License for selected user, but without removing any license, the problem is with removeLicense  "message": "One or more parameters of the function import 'assignLicense' are missing from the request payload. The missing parameters are: removeLicenses.". In Postman works something like that:

 Przechwytywanie.PNG

so I put it into PowerApps connector and tried to execute, but i can't find a proper method to set "removeLicenses" null or just empty, I tried: "null, null, "", " ".
PowerApps command looks like that: "DodawaniePracownikowConnector.test(Dropdown1.SelectedText.Id, {addLicenses: Table(Dropdown2.SelectedText).skuId})", and error: "One or more parameters of the function import 'assignLicense' are missing from the request payload. The missing parameters are: removeLicenses.".

I also tried "removeLicenses": [""] then i can set a value for that in PowerApps and I set empty table, also doesn't work.

2 REPLIES 2
KBejma
Regular Visitor

.

alrez
Community Support
Community Support

Hi,

 

Looking through your logic here, it seems to be fine. I cannot figure out what you are missing from your graph request that is causing this issue. I would recommend opening a ticket with Microsoft Support. I'll include a link below on how to create a case. Otherwise if any other communities members might know what the issue is here feel free to chime in.

 

If you would like to create a ticket with Microsoft Customer Support here is a link on how to do so: https://docs.microsoft.com/en-us/power-platform/admin/get-help-support

 

Regards,

 

Alex

 

-------

 

Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,514)