InvoiceId (or equivalent) missing from EA usage billing - azure-billing-api

Hoping someone can help with this.
I'm pulling usage information from the Azure API:
https://consumption.azure.com/v3/enrollments/{enrollment}/usagedetails/submit?startTime=2019-08-01&endTime=2019-08-31
Which will return a url (when status is 3) to a csv blob similar to this:
https://ccmreportstoragewestus.blob.core.windows.net/publicapireports/...
What I don't see in the API result is anything pertaining to an invoice reference. When I've done this with AWS, most of the time you have an invoiceid/reference, in cases where you may have had more than one paper bill for that billing period.
Am I missing something with the EA billing API?

AFAIK, EA customers get invoices on a quarterly basis. If you've a hard/soft copy of invoice, you can pull this data using Azure Consumption APIs by providing correct offer name and the billing period parameters.
Answered this previously on the MSDN forum.

Related

Azure Management API not returning Reserved Instances

I have a couple of reserved instances that I'd like to be notified about when its close to their expiry. By default, the purchaser gets notified about expiration through an email, but I'd like to manage that notification myself, by injecting a work item in our ISMS when it gets close to that time (or 1/4/8/12 weeks beforehand).
I have:
Created a Logic App
Enabled System Assigned Managed Identity on it
Granted this MI the Reservation Reader role. If I check the Role Assignments on the Reservations, as well as the Reservation Orders, the MI is listed under Reservation Readers
As a test, the Logic App does an HTTP call to https://management.azure.com/providers/Microsoft.Capacity/reservationOrders?api-version=2019-04-01. The call passes with a 200.
However... the results are empty:
If I modify the HTTP request to return a specific Reservation (and not try and List the Reservation Orders), I do get the details of that Reservation (I get the Reservation Order ID through the Azure Portal, then call to GET https://management.azure.com/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}?api-version=2019-04-01).
I have also confirmed that the MI has the Read permissions on each Reservation Order (by clicking through to them from the Reservation).
I have also (being at wits' end) added the MI to the Reservation Administrators. No joy.
What am I doing wrong?
It seems to have been resolved in the latest version of the API. If I query Microsoft Graph using API version 2022-11-01, I get results.

Where to find Microsoft Store Submission Details?

When I want to publish my XF.UWP app to the Microsoft store on a new pc I am presented with the following fields to fill:
Tenant ID
Client ID
Client Key
The Microsoft documentation page that guides you through the process seems to be outdated (I already reported this), and I can't find the data that I need to fill from the new Microsoft Partner Center.
The only field I am able to find is 'Tenant Id'. I Found it under gear icon - account settings - organisation profile - tennants.
Who can help me out
Like with many of Microsoft's services, the Client ID/ Client Key location is a bit vague and easier to explain with screenshots than words. But for anyone who may not understand the purpose, I'll leave a brief synopsis to explain the caveman drawings below.
The tenant ID in this scenario is the ID of your Azure AD tenant. No big surprises here. You can grab this (assuming an Azure AD organization is already linked to your Microsoft Partner Center account) from the MPC dashboard under Home > Account Settings > Organization profile > Tenants.
The client ID & client key are slightly harder to locate. This is because MPC recognizes three types of entities within the user hierarchy.
Users
Groups
Azure AD applications
To take advantage of the current automated publishing pipeline for the Microsoft Store, you must create or manage the Azure AD application associated with your project, which can be done under Home > Account settings > User management > Azure AD applications.
If you are familiar with GCP or Google API integration, the Azure AD app is the equivalent of a service account. A given Azure AD application can be assigned any permission within the scope of your project or even your organization based on the scenario. In my experience, the Manager role has always been sufficient.
Click an existing app to manage or create a new one from scratch; either way, you will soon reach the Client ID / Client Key panel, where you can add, view (one time only), and delete keys for your application. The values generated here can be utilized in the Microsoft Store submission workflow seen in the OP's screenshot above. Happy publishing!
References: Add users, groups, and Azure AD applications to your Partner Center account
Do you have Azure AD linked to your account?
If so, those keys should be available here:
https://partner.microsoft.com/en-us/dashboard/account/v3/usermanagement#users
If not, it can be configured here:
https://partner.microsoft.com/en-us/dashboard/account/TenantSetup
leading to:
https://partner.microsoft.com/en-us/dashboard/Account/CreateTenant

How can I check student attendance in recurring google meet's?

I want to check the students attendance for all google classroom courses. As the meeting_code will be the same for each course (recurring), how can I figure out the attendance for each meeting? Which parameter can help me to solve that? Any ideas?
Thanks
Yes, you can if you are an admin
From the user interface, go to the Admin console and go to Reports -> Audit log -> Google Meet. You can filter the results by start time, user name etc.
In Apps Script you need to enable and use the Advanced Service Admin Reports API.
More specific, you need to use the method Activities:list, specifying the student of itnerest as userKey and meet as applicationName
You can filter by different parameters as specified for the Google Meet Audit Activity Events, like startTime of the meeting, or e.g.
duration_seconds whihc not only allows you to estimate either a student participated, but also for how long he did.
I recommend you to test the request with the Try this API feature before implementing it into Apps Script

Structuring a booking website

I am very new to web development, and I'm trying to get my head around the most efficient method in creating the website.
The premise of the website is for booking activities in various locations. Processes I believe that would take place are:
Customer books activity;
Request updates database, and request is sent to vendor;
If vendor approves request, confirmation is sent to customer in the form of QR code, barcode, and numerical code (for redemption);
If approved, customer is charged the amount of the activity.
My question is what structure should I use in approaching this problem? My thoughts at the moment is placing the website in Google' app engine, using mySQL database.
Any thoughts would be greatly appreciated.
If you're using GAE, I suggest looking into NDB Datastore. https://cloud.google.com/appengine/docs/python/ndb/
Customer books activity → a) store in ndb datastore and b) verify that information → send to vendor
Confirmation (display URL code e.g. http://website.com/?c=generaterandomlongstringhere)
If URL is clicked, you can add a confirm as well after like accept | decline (e.g. http://website.com/?c=generaterandomlongstringhere&?v=acceptordecline)
Update NDB and Charge user

Get TransactionID from Recurring Profile Information

I have created ReurringPaymentProfile using CreateRecurringPaymentsProfile API and can get all details of the profile using GetRecurringPaymentsProfileDetails API.But now i want make function by which site admin can refund any amount of any transaction.
I have already worked with RefundTrasaction API but that is with Ecommerce.But for RefundTrasaction we need TransactionID but in recuruing payment i have not get the tansction id.
Can any one help to get the transction id for RefundTRansction API. Or How i will refund the subscription Money using API.
Thanking you all
Check this link .
It give step by step description about creating recurring profile.
https://developer.paypal.com/docs/classic/express-checkout/ht_ec-recurringPaymentProfile-curl-etc/