Is the "switch user" dropdown in Azure, Office, and other products available for integration to AAD/B2C web apps? - asp.net-core

I am interested in including the dropdown-account-selection feature that's available in Azure and Office in my personal ASP.NET (core/Blazor WebAssembly) app.
This often occurs when more than one AAD account is being used, or when more than one directory is being accessed at a time.
Ideally I would have a more compact view (like Google) and one that switches as quickly too

Currently, it is not possible .Please raise UserVoice or vote for similar voice

Related

Azure API Management Developer Portal

I have a requirement to expose the APIM Developer Portal to external partners, I want the developer portal to be my one stop shop for these partners to access and learn everything they need to know about my APIs, in the main APIM Developer Portal satisfies that requirement but when I want to add new content e.g. specific design, architecture, user guide documentation etc about the API it starts to get very confusing, for a start it looks like the depreciated publisher portal (which still exists) is the only place that I can add new pages. The new pages seem very limited and clunky and cannot be amended in the new version of the portal. There is also very limited documentation outside the standard MS stuff and nearky all of that relates to amending the current pages and templates.
My site will go live at the end of the year and I don't want to find one day these new content pages missing from the portal and my supporting documentation removed.
Does anybody know where Microsoft is going with the developer portal for customizing outside outside the standard templates they offer or can anybody supply me with a link of documentation that addresses new content pages?
It looks like the depreciated publisher portal (which still exists) is the only place that I can add new pages
Yes, you need to use the publisher portal to add new pages.
The new pages seem very limited and clunky and cannot be amended in
the new version of the portal.
What do you mean by new version of the portal?
I am going live at the end of the year and I don't want to find one day these new content pages missing from the portal and my supporting documentation removed.
If your worry is that API Management will automatically remove your content because of publisher portal deprecation - you can rest assured this is not going to happen, especially without any previous notice.
Does anybody know where Microsoft is going with the developer portal for customizing outside the standard templates they offer?
There is some work planned to refresh the developer portal. Can you please elaborate more on what you are trying to achieve? What is your goal?
One can edit those pages in 2 places: Publisher Portal and Developer Portal.
In the Publisher portal you can add widgets to predefined areas on the page. For example you can add a HTML widget to the home page for authenticated and non-authenticated users. Rasmas Gude has a great article about that here.
In the Developer Portal you can change the information shown on each page by editing the template. There's a edit template icon available on the left for administrator. If you click that and then select the section you want to edit a split screen will appear below. The left have is DotLiquid markup and the right is the data model for that section. With that information you should be able to modify the page in the manner you wish.
If they are decommissioning the publisher portal, it will be enabled in the azure portal. Earlier we have the API, Products and users etc in the publisher portal. that are added in the other portal. The deprecation of the portal, dosnt mean the existing functionality will fail, which have the alternatives.

User Emulation for app testing in Dynamics 365

In the Service Now platform there is a feature that emulates users. Is there a one in Dynamics 365 ? As of now, I am opening multiple tabs in different browsers to test user apps/forms/solutions.
No out of the box feature for this.
Couple of ideas;
Use Firefox in conjunction with Multi-Account Containers. This allows you to effectively have multiple active sessions for different users open within a single browser. This might be easier to manage.
Use a single user, but write code to automate the switching of security roles. This way you can rapidly switch between different user roles.
Unfortunately, there is no way to do User experience emulation of different persona by OOB or with community tools. Only way is different browser window with different credentials (In-cognito or Run as different user).
Only simulator available is in Form editor - Preview option, to see how the Form looks-like with Tab/Section/Fields in Create/Update/Read-Only mode for Desktop Client.
With some Chrome Addins, we can impersonate a different user only on Unified Interface (UCI) not on web UI. Read more
Essentially, we just need to add the MSCRMCallerID header to every API request.  One way to do this is using the "ModHeader" extension for Google Chrome.  Once you have it installed, create a new profile to add the header to all requests for your environment.  It should look something like this...the MSCRMCallerID is the GUID of the user you want to impersonate.

Sharepoint 2010 Notifications across web applications

We have several SharePoint websites. I'd like to be able to send update notifications from one website to the others. Is there anything that can do this without purchasing 3rd party software? We are on a very limited budget. We do not have Exchange capabilities.
Thank you in advance,
Tara
Perhaps create a central site that is used just for notices, search crawl into a specific "notices" content source, and have all of your disparate sites have a web part to read the search content of that type (shared/not locked down) and display in a CSS-formatted web part so it's consistent messaging across all sites?? That way it's a business-process rather than relying on a "Send" or push mechanism you are simply relying on an updated search and the notice is then relatively immediate wherever the web part resides...

Can you create Google Forms from Google Docs in an application?

I am thinking about app that will use google form and I need to create forms from that app. Is there a way how can I create form in google docs without using website but through some api or some other way?
I can offer an idea for a solution using Google App Script.
Since the beginning of 2013 you can create new forms using the App Script Forms Service API quite easily.
var form = FormApp.create(title)
.setDescription(description)
.setConfirmationMessage('Thanks for responding!')
;
The problem now is how to get that App Script running from your non App Script code.
You can use App Script to create a Web App that reacts to HTTP GET requests.
So putting it together, you may be able to create an App Script Web App that reacts to a GET request and when it gets the right URL parameters, it creates the form.
(Nov 2020) Yes, it is possible to programmatically create Google Forms. You can do it with Google Apps Script using its Forms service. You can also extend the code to read in the contents from Google Docs (with Apps Script's Document service) and use it for the creation of Google Forms.
I created a Google Workspace (formerly G Suite) Add-on, which you can think of as a Google Docs extension, called GFormIt. Its original purpose was intended for teachers to write exams/quizzes, possibly with answers, in Google Docs, then automatically convert them to Google Forms to distribute to students who submit their answers into Google Sheets (the destination for Google Forms submissions).
Furthermore, if you (the teacher) provided answers to your test questions, GFormIt would also auto-submit your answers to the Sheet as if you were a student. If you do that, and use a tool like Flubaroo to grade the exam, you could designate your row in the Sheet as “the answer key.” You can learn more about how it works, including viewing a short video, at the GFormIt page linked above.
This Google Docs add-on, along with others for Google Docs, Sheets, Slides, Forms, etc., are all certified/validated by Google and available for free to anyone from the Google Workspace Marketplace. (However, your admins may have to grant permissions for you to try to install them to your corporate Workspace account.) If interested in building your own add-on, please see the developer documentation and perhaps some of my introductory videos to get started, the most relevant being the one linked to at the top of this answer.
Apps Script is a serverless Google technology, meaning you write your code (using JavaScript) in the browser, and it is hosted by & executed on Google servers. If you wanted to create your own web app (and hosted anywhere), you would have to wait for a Google Forms REST API which does not exist at the time of this writing. (If we ever launch one, you'll find its documentation at https://developers.google.com/forms along with the others like Sheets https://developers.google.com/sheets, Gmail https://developers.google.com/gmail, Drive https://developers.google.com/drive, etc.)
Earlier this year (Mar 2022) the new Google Forms Api graduated from Beta. It is more powerful that the previous versions and caters for two main use cases:
Automated form creation and editing: Enables automated form creation
and editing. Enables rapid form generation from large volume question
banks or other data backends.
Reaction to Form responses: The API also enables developers to build
automations for acting on incoming responses. Examples include
developing real-time dashboards or visualizations and triggering
business workflows based on response data.
We have used it to build an integration that Creates documents and slides each time a form is completed: www.portant.co/google-forms-to-docs and it works really well.
I think the other key use case looks like it would be a good fit for you and others looking for a solution like this.
Cheers, James
Sorry, the API doesn't support programmatically creating forms.

Google Analytics for Mac OSx application

Is it possible to use Google Analytics API's to track Mac OSX applications?
If not could any one suggest me an alternative for Google Analytics.
Google Analytics is designed to work with web applications not for desktop apps. Although it might be possible to collect info about your application and send it to your Google Analytic account but the amount of work required to retrofit might be better spent, building your own Analytic solution.
A good starting point would be to create a simple web service, which collects information regarding clicks. Then rewrite your application to call that web service on every click within your application.
You would ideally want to store this information locally and submit it to the web service in batches. You would also want to design the application, so that if you ever shut down the web service, the application would still be able to operate.
UPDATE: As pointed out in the comments by Václav Slavík, they have added apps analytics for iOS/Android.
I made a simple set of classes for doing this:
https://github.com/stephenlind/SimpleCocoaGoogleAnalytics
Google Analytics is not only for web applications, but also for mobile. It's available on the platform like android, iOS, etc. If you want to track your MAC OS X application, you can choose DeskAppTrack or DeskMetrics. DeskAppTrack is only available on MAC. It provide a professional data statistical analysis and it's free. While DeskMetrics is available on MAC and Windows. Either one is ok.
This really depends on how detailed you want to get. If you are are truly looking for analytics with detail and control flow data, you are better suited to created your own web service, as mentioned.
However, if you simply want to know a small number of operations, that occur at a small volume, i.e. when the app is launched (a quick and dirty solution): then in theory you could create a landing page on your site that contains a minimal head section, and a blank body, and then load the URL with an NSURL when you want to trigger the action.
Of course, you would have to include the google analytics tracking codes in the header, and you may need to load an off-screen webview to get the javascript to run. Like I said, quick and dirty.
In either case, you want to make sure the application will continue to perform properly, even if the web service / page is not present.