Category: Microsoft
Category Archives: Microsoft
do-while in parallel
Good morning:
I have a code in C# Framework 4.8 that has a rather heavy do-while. I would like to know if there is a way to run it in parallel like for or foreach, which have their parallel versions.
Thanks
Good morning:I have a code in C# Framework 4.8 that has a rather heavy do-while. I would like to know if there is a way to run it in parallel like for or foreach, which have their parallel versions.Thanks Read More
Can you recover deleted files after emptying the recycle bin?
I recently encountered a problem where I accidentally emptied my Recycle Bin on my Windows 11 PC, and lost several important files that I hadn’t intended to delete. I understand that once the Recycle Bin is emptied, the files aren’t easily recoverable, but I’m hoping there might still be a way to get them back. Has anyone else experienced this issue and successfully recover deleted files after emptying the recycle bin?
I’ve read that it might be possible to recover deleted files using specialized data recovery software. If anyone has recommendations for reliable tools or methods that can help retrieve files after they’ve been permanently deleted, I would greatly appreciate your advice.
I recently encountered a problem where I accidentally emptied my Recycle Bin on my Windows 11 PC, and lost several important files that I hadn’t intended to delete. I understand that once the Recycle Bin is emptied, the files aren’t easily recoverable, but I’m hoping there might still be a way to get them back. Has anyone else experienced this issue and successfully recover deleted files after emptying the recycle bin? I’ve read that it might be possible to recover deleted files using specialized data recovery software. If anyone has recommendations for reliable tools or methods that can help retrieve files after they’ve been permanently deleted, I would greatly appreciate your advice. Read More
AVD with HP ThinPro(linux) – problems with USB and big files
Hello everyone,
we use HP ThinClients with ThinPro 8.1 SP3 to connect to Microsoft AVD.
If we try to connect USB-Sticks oder external USB-Drives, we have a lot of Problems.
Big USB-Drives like 1TB would not be shown in AVD-File-Explorer.
Smaler USB-Sticks where shown, but if we try to move big files, over 100 MB, the complete AVD-Session breaks.
Does anyone have information about this, or how to make this going?
Many thanks for your help.
Best regards
Thomas
Hello everyone,we use HP ThinClients with ThinPro 8.1 SP3 to connect to Microsoft AVD.If we try to connect USB-Sticks oder external USB-Drives, we have a lot of Problems.Big USB-Drives like 1TB would not be shown in AVD-File-Explorer.Smaler USB-Sticks where shown, but if we try to move big files, over 100 MB, the complete AVD-Session breaks.Does anyone have information about this, or how to make this going?Many thanks for your help.Best regardsThomas Read More
How Do I Fix QBCF_Monitor Service not running on this computer Issue?
How can I resolve the issue with QBCF-Monitor Service not running on my computer? I’ve tried restarting the computer and checking the service status, but it still won’t start. Are there specific troubleshooting steps or solutions I should follow to fix this problem?
How can I resolve the issue with QBCF-Monitor Service not running on my computer? I’ve tried restarting the computer and checking the service status, but it still won’t start. Are there specific troubleshooting steps or solutions I should follow to fix this problem? Read More
Is Warehouse management APIs are available in business central?
Hi Team,
I have use case like to enter goods item level and need to store it in business central.Like i need to do like to create purchase order from invoice document and do inventory put Away through API .Create PO API is there.Please guide me to get inventory put-away API?
Thanks,
Ardra
Hi Team, I have use case like to enter goods item level and need to store it in business central.Like i need to do like to create purchase order from invoice document and do inventory put Away through API .Create PO API is there.Please guide me to get inventory put-away API? Thanks,Ardra Read More
Is it possible to show the “All Documents” view in a SharePoint Library only to admins
Hello All,
There is a Document Library “working documents” that has two views. One is the “All Documents” view which shows all the documents uploaded by all people. There is another view “My Documents” that I created, which only shows documents uploaded by me (I have filtered this My Documents view to only show ones by me)
The requirement is as follows :
-The “All Documents” view should not be seen by any regular user. It should only be visible by admins (For eg, users belong to a specific M365 group or specific users)
-So the goal is when a user accesses this library to upload documents, they should not see “All documents” view, and just be defaulted to the “my documents” view
Please advice how can we achieve this and hide the All docs view for uploading users, and show it only for a specific group of people like admins
Hello All, There is a Document Library “working documents” that has two views. One is the “All Documents” view which shows all the documents uploaded by all people. There is another view “My Documents” that I created, which only shows documents uploaded by me (I have filtered this My Documents view to only show ones by me)The requirement is as follows : -The “All Documents” view should not be seen by any regular user. It should only be visible by admins (For eg, users belong to a specific M365 group or specific users)-So the goal is when a user accesses this library to upload documents, they should not see “All documents” view, and just be defaulted to the “my documents” viewPlease advice how can we achieve this and hide the All docs view for uploading users, and show it only for a specific group of people like admins Read More
The specified user does not have a valid profile
-Some users get “The specified user does not have a valid profile” error(Win 11), To give more context online updates are typically not allowed within org unless a permission is given, When we did install windows updates, and rebooted a few times, issue was resolved, Question is this is a known issue, Did not seem to find any relevant information in the KB articles for updates addressing this specific issue so not sure what the root cause of the issue is and what exactly solved it. Any help is appreciated. Note: Some articles refer to MS store however it is not relevant and not logged in before or after the issue has been resolved. This error appears for certain users ,prevents them from launching Teams, Outlook , all windows apps in general It typically occurs on Windows machines.For e.g. Read More
Deep Linking for an In-App Admin Approval Screen in Power Apps
Deep linking is a powerful feature that enables users to access specific screens or forms within a mobile or web application directly without having to navigate through the traditional user interface. In this article, I explore how to implement deep linking for an in-app admin approval screen in Power Apps. In organizations, certain actions like approving leave requests, expense claims, or project submissions require administrative approval. Traditionally, this involves manual steps and navigating through the app’s screens. With deep linking, administrators can directly access the approval screen without going through the usual steps. By using deep links, you can streamline the approval process and make it more convenient for administrators to access and approve requests.
I’ll walk you through each step in the process:
Creating the information screen
Creating the approval screen
Setting up the OnStart function
Handling the StartScreen function Editing the shareable app link
Creating the automated cloud flow for email notifications and deep linking
Configuring the OnSuccess property for the approval screen
Final testing
Step 1: Creating the Information Screen
In this step, you design and create the information screen for your Power App. The information screen serves as the front-facinginterface where users will access and view relevant data or content. Follow these steps:
Create a new screen, and name it InformationScreen. This screen will contain a form connected to your database, whichusers will fill out to request approval.
Add a form to the screen and connect it to your database. Set its display property to New for users to enter new data.
Edit the fields displayed in the form, excluding the approval field from your database.
Add a button control with the text property set to Submit, and assign the OnSelect function to submit the form: SubmitForm(form1)
Step 2: Creating the Approval Screen
In this step, you build the approval screen for your admin. The approval screen is a crucial component when dealing withworkflows or processes that require authorization from specific individuals or teams. It typically includes options for users toapprove or reject requests, comments, and additional information necessary for decision-making.
Create another screen, and name it ApprovalScreen. This screen will display the form for approving or editing submittedrequests.
Add a form to the screen and connect it to your database. This time, set its display property to Edit to allow administrators to review and approve requests.
Edit the fields displayed in the form, this time including the approval field from your database.
Add a button control with the text property set to Submit, and assign the OnSelect function to submit the approval form: SubmitForm(form2)
Step 3: Setting Up the OnStart Function
In the app, input the following code at the OnStart function. This code handles the initialization of the app and sets theappropriate mode based on whether the app was launched with a specific request ID (deep link) or not.
If(
!IsBlank(Param(“ID”)),
Set(
varItem,
LookUp(
‘Database_name’,
ID = Value(Param(“ID”))
)
);
Set(
varMode,
FormMode.Edit
)
)
Explanation
Here’s how it works:
The OnStart function runs when the app starts.
The If statement checks if the ID parameter is present in the app’s launch URL (deep link). If present, it means the user clicked on a specific request to view or approve it.
The LookUp function finds the database record with the specified ID.
The Set function assigns the found record to the varItem variable.
The Set function also changes the form mode to Edit to enable editing of the request.
Step 4: Handling the StartScreen Function
In the app, input the following code at the StartScreen function. This code determines which screen to display based on the presence of an ID parameter (deep link).
If(
!IsBlank(Param(“ID”)) && !IsBlank(LookUp(‘Database_name’, ID = Value(Param(“ID”)))),
ApprovalScreen,
InformationScreen
)
Explanation
Here’s how it works:
The StartScreen function determines the first screen to display when the app launches.
The If statement checks if the ID parameter is present in the app’s launch URL (deep link) and also verifies if the corresponding database record exists.
If both conditions are met, the user is taken to the ApprovalScreen to view or approve the request.
If the ID parameter is missing or the associated record doesn’t exist, the user is directed to the InformationScreen to submit a new request.
Step 5: Editing the Shareable App Link
To make the app link shareable and include the deep link, follow these steps:
Click the Share icon in Power Apps, which opens the share page in a new tab.
Copy the app link and paste it into a code editor or a Notepad app.
Apply the href attribute to the link as shown here: <a href=”link&ID=”>Take Action</a>
Replace “link” with the copied app link.
Step 6: Creating the Automated Cloud Flow for Email Notifications and Deep Linking
To handle email notifications and deep linking, create a cloud flow (Power Automate) with the following steps:
Choose PowerApps (V2) as the main trigger for the flow.
Add the Get Item action to collect more information from your database (if using SharePoint list).
Select and add the Send an email (V2) action to send an email notification to the administrator.
Click the code view icon in the body of the Send an email (V2) action and paste the deep link with the following format:
<a href=”https://apps.powerapps.com/play/e/default-9dfc36c3-b5c1-4129-be98-ec7e4df78702/a/0a2573bb-2708-4a67-99bd-fe2a7c031727?tenantId=9dfc36c3-b5c1-1234-be98-ec7e4df12345&ID=”>Take Action</a>
Replace the part after “ID=” with the dynamic content “ItemID” from the Power Apps trigger.
The Get Item action within the flow allows you to retrieve additional fields from your SharePoint list, which you can include in your email notification.
Step 7: Configuring the OnSuccess Property for the Approval Screen
Input the following code at the OnSuccess property of the screen containing the approval form in Power Apps. This code handles the submission of the approval form, triggers the automated cloud flow, and shows a success notification.
Set(varApproval, LookUp(‘Database_name’, ID = form1.LastSubmit.ID));
ApprovalFlow.Run(varApproval.ID, “Approval”);
Notify(“Form Submitted”, NotificationType.Success);
Explanation
Here’s how it works:
The Set function assigns the database record of the last submitted request to the varApproval variable.
The ApprovalFlow.Run function triggers the automated cloud flow, passing the request ID and the action Approval as parameters.
The Notify function displays a success notification to the user, indicating that the form has been successfully submitted.
Step 8: Final Testing
Fill out the form on the InformationScreen and submit it. An email notification is sent to the administrator containing the Take Action hyperlink.
Click on the hyperlink in the email, which will take you to the ApprovalScreen, allowing you to review and edit the request using a drop-down list of feedback options.
After making any necessary changes, click Submit on the ApprovalScreen to finalize the approval process.
Conclusion
You can use deep linking to streamline the approval process in Power Apps by making it easier for administrators to access and approve requests. By following the steps in this article, you can learn how to implement deep linking for an in-app admin approval screen, which will improve the user experience and efficiency of your Power Apps solution.
Resources
Create a canvas app with deep link
Microsoft Power Apps documentation
Power Apps training
Microsoft Tech Community – Latest Blogs –Read More
How to Return Text from Column 1 if Text in Other Rows Match
Hello, here is an example data set I am dealing with and what I am trying to find a formula for:
In reality, I have about 85 tasks. In the second table, I want it to return for each day, the Tasks that are marked with an X in the top table. The tasks can change depending on the week, and the number of tasks per day can also change, so I need the output to be able to return the task name in Column 1 for all rows marked with an X for each day of the week. I hope this makes sense.
Thank You
Hello, here is an example data set I am dealing with and what I am trying to find a formula for: In reality, I have about 85 tasks. In the second table, I want it to return for each day, the Tasks that are marked with an X in the top table. The tasks can change depending on the week, and the number of tasks per day can also change, so I need the output to be able to return the task name in Column 1 for all rows marked with an X for each day of the week. I hope this makes sense. Thank You Read More
Is there a way to exculde a day from a daily backup in SSMS?
I created a daily maintenance plan in SSMS that included taking full backup of my DBs. The next day I changed the backup type from full to differential. So now, I have a full backup of one day and subsequent differential backups of a couple of days.
My goal is to take a full backup on Sunday night, and differential backups on every other night of the week. Is that possible in SSMS?
I created a daily maintenance plan in SSMS that included taking full backup of my DBs. The next day I changed the backup type from full to differential. So now, I have a full backup of one day and subsequent differential backups of a couple of days. My goal is to take a full backup on Sunday night, and differential backups on every other night of the week. Is that possible in SSMS? Read More
full functions and header footer excel office 365
Trying to edit a large excel document recently transferred from a desktop application to office 365. I no longer have the desktop licence but want to edit the excel. I cannot get the full document header/footer. Any suggestions as to how I can do this?
Trying to edit a large excel document recently transferred from a desktop application to office 365. I no longer have the desktop licence but want to edit the excel. I cannot get the full document header/footer. Any suggestions as to how I can do this? Read More
Application linked to Sharepoint
How do companies, or developers in general, create apps on their employees devices that when launched, directly link you on a Sharepoint site?
How do companies, or developers in general, create apps on their employees devices that when launched, directly link you on a Sharepoint site? Read More
Error adding Exchange account to Outlook Application
I am now getting an error message in adding my Exchange account to Outlook Application. The error is couldn’t setup your account. Contact Email Admin. We have tried Autodiscovery in registry already HKEY_CURRENT_USERSoftwareMicrosoftOfficex.0OutlookAutoDiscover , no luck. Also check with these keys HKEY_USERSDEFAULTSoftwareMicrosoftOffice16.0CommonIdentity. We have tried new profile, tried Microsoft 365, Exchange, and Outlook.com but all of them shows same error. I can login with my phone, tablet and https://mail.premium.exchange/owa/auth/logon.aspx website. The issue is just adding in Outlook Application using computer. I am using Microsoft 365 subscription. Please advise for the steps we could still perform. My account is not managed by an Admin , so there’s no way we could enable Modern authentication.
I am now getting an error message in adding my Exchange account to Outlook Application. The error is couldn’t setup your account. Contact Email Admin. We have tried Autodiscovery in registry already HKEY_CURRENT_USERSoftwareMicrosoftOfficex.0OutlookAutoDiscover , no luck. Also check with these keys HKEY_USERSDEFAULTSoftwareMicrosoftOffice16.0CommonIdentity. We have tried new profile, tried Microsoft 365, Exchange, and Outlook.com but all of them shows same error. I can login with my phone, tablet and https://mail.premium.exchange/owa/auth/logon.aspx website. The issue is just adding in Outlook Application using computer. I am using Microsoft 365 subscription. Please advise for the steps we could still perform. My account is not managed by an Admin , so there’s no way we could enable Modern authentication. Read More
On Outlook with iOS birthdays, why are there duplicate entries, and also no contact name?
This is starting to piss me off.
I get that Microsoft and Apple don’t like to play nice together, but they make it impossible for users to self-remedy these issues. I don’t know who to b*tch to, so I’m b*tching to both.
First, there are duplicate birthday entries, even though in my contact list there are no duplicates, and I only have iCloud contacts.
Second, none of the birthday entries in Outlook show contact names.
Does anyone have a solution/workaround?
This is starting to piss me off. I get that Microsoft and Apple don’t like to play nice together, but they make it impossible for users to self-remedy these issues. I don’t know who to b*tch to, so I’m b*tching to both. First, there are duplicate birthday entries, even though in my contact list there are no duplicates, and I only have iCloud contacts.Second, none of the birthday entries in Outlook show contact names.Does anyone have a solution/workaround? Read More
‘Identity Pass’ Unable to request new ‘TAP code’ returns Error Code: 203 Information does not match
Issue:
BLOCKED: Disaster Recovery Fails: Unable to request new ‘TAP code’ from ‘Identity Pass’ app.
Resetting Authenticator App on replacement Corp Laptop & Android
Repo steps:
– Received new MSFT imaged Laptop & Android phone
– On Android, go to aka.ms/knockknock
– ‘Identity Pass’ launches successfully and requests Employee ID & Corp email
– Enter Employee ID ‘000477476’ & Corp Alias ’email address removed for privacy reasons’
– Click ‘Submit’ – Returns Error Code: 203 ‘Information does not match’.
– Retry with Birthdate 9/22/1977 & Corp Alias ’email address removed for privacy reasons’
– Click ‘Submit’ – Returns Error Code: 203 ‘Information does not match’.
– BLOCKED: Resubmitting a new ‘TAP code’ request Fails with Error Code: 203 ‘Information does not match’.
As the result, we can no longer sign-in to https://client.wvd.microsoft.com/arm/webclient/index.html to configure our Authenticator Apps.
Please let us know if there’s anything else we can do or provide the help get this issue resolved ASAP.
Thanks & Best Regards,
Gary
Issue:BLOCKED: Disaster Recovery Fails: Unable to request new ‘TAP code’ from ‘Identity Pass’ app.Resetting Authenticator App on replacement Corp Laptop & Android Repo steps:- Received new MSFT imaged Laptop & Android phone- On Android, go to aka.ms/knockknock- ‘Identity Pass’ launches successfully and requests Employee ID & Corp email- Enter Employee ID ‘000477476’ & Corp Alias ’email address removed for privacy reasons’- Click ‘Submit’ – Returns Error Code: 203 ‘Information does not match’.- Retry with Birthdate 9/22/1977 & Corp Alias ’email address removed for privacy reasons’- Click ‘Submit’ – Returns Error Code: 203 ‘Information does not match’.- BLOCKED: Resubmitting a new ‘TAP code’ request Fails with Error Code: 203 ‘Information does not match’. As the result, we can no longer sign-in to https://client.wvd.microsoft.com/arm/webclient/index.html to configure our Authenticator Apps.Please let us know if there’s anything else we can do or provide the help get this issue resolved ASAP.Thanks & Best Regards,Gary Read More
split or create a funtion
hello everyone, i have a problem to put automaticaly range of daily works, and that is slowly to me
So that I want to create a function or have help how to do it.
like in semaine 53 = I want to that equals to 02/09/24-10/10/24 without describing all the words
@sana
hello everyone, i have a problem to put automaticaly range of daily works, and that is slowly to meSo that I want to create a function or have help how to do it.like in semaine 53 = I want to that equals to 02/09/24-10/10/24 without describing all the words@sana Read More
Mastering the Shorthand Syntax in your daily workflow
Introduction
In this tech blog, we’ll unravel the magic behind Azure CLI shorthand syntax and discover how it can elevate your command-line experience.
By unlocking the potential of Azure CLI Shorthand Syntax, we want to make your command-line experience as smooth as possible.
Quick walkthrough
Full Value Format: JSON without the quotes, making complex objects a breeze.
az some-command –contact “{name:Bill,age:20,paid:true,emails:[Bill@microsoft.com,Bill@outlook.com],address:{country:USA,company:Microsoft,details:{line1:’15590 NE 31st St’,line2:’Redmond, WA’}}}”
Partial Value Format: Simplifying commands with key-value simplicity.
az some-command –contact name=Bill
az some-command –contact age=20 paid=true
az some-command –contact emails[1]=”Bill@outlook.com”
az some-command –contact address.details=”{line1:’15590 NE 31st St’,line2:’Redmond, WA’}”
az some-command –contact address.details=./address_details.json
Combine Full Value and Partial Value for ultimate flexibility.
az some-command –contact “{name:Bill,age:20,paid:true,emails:[Bill@microsoft.com,Bill@outlook.com]}” motto=”One man’s bug is another man’s lesson.”
az some-command –contact “{name:Bill,??”
az some-command –contact “{name:Bill,address:??”
az some-command –contact “{name:Bill,address:{country:??”
az some-command –contact “{name:Bill,address:{country:USA},emails:??”
az some-command –contact “{name:Bill,address:{country:USA},emails:[??”
az some-command –contact name=”‘Bill RP'” data=”‘{a: [1, 2]}'”
az some-command –contact name=”‘null'”
az some-command –contact name=”‘bill’/s'”
?? for Help: Use ?? to reveal helpful hints, making your life easier.
az some-command –contact “??”
az some-command –contact “{??”
az some-command –contact “{name:Bill,??”
az some-command –contact “{name:Bill,address:??”
az some-command –contact “{name:Bill,address:{country:??”
az some-command –contact “{name:Bill,address:{country:USA},emails:??”
az some-command –contact “{name:Bill,address:{country:USA},emails:[??”
az some-command –contact address=”??”
az some-command –contact emails=”??”
az some-command –contact emails[0]=”??”
Passing null Values: Effortlessly handle null values in both Full Value and Partial Value formats.
Pass null in Full Value:
az some-command –contact “{name:Bill,age:20,paid:true,emails:[Bill@microsoft.com,Bill@outlook.com],address:null}”
Pass null in Partial Value:
az some-command –contact name=Bill address=null
Single Quotes String is used to pass a string value with special characters: `:`, `,`, `{`, `}`, `[`, `]`, `null`, `??` and space. Because those characters usually have other meanings when parsing shorthand syntax. So with single quotes, it tells parser to parse as a string only.
Pass a String Value with Space and Special Characters
Crafting commands with spaces or special characters? No worries! Single Quotes String ensures your strings stay intact:
az some-command –contact “{name:’Bill RP’,age:20,paid:true,data:'{a: [1, 2]}’}”
az some-command –contact name=”‘Bill RP'” data=”‘{a: [1, 2]}'”
Pass a “null” String Value
Need to pass a string with the value “null”? Single Quotes String to the rescue:
az some-command –contact “{name:’null’,age:20,paid:true}”
az some-command –contact name=”‘null'”
Use ‘/ to Pass ‘: Handling the tricky single quote within a Single Quotes String? Use ‘/ to navigate smoothly:
az some-command –contact “{name:’bill’/s’,age:20,paid:true}”
az some-command –contact name=”‘bill’/s'”
az some-command –contact name=”bill’s”
Overall, our shorthand syntax is designed to streamline command creation, making it more concise and intuitive for day-to-day development around Azure CLI. By condensing commonly used parameters, it not only saves keystrokes but also enhances readability which will greatly beneficial to our codebase and CLI developer community.
Microsoft Tech Community – Latest Blogs –Read More
Windows XP SP2 causes Error 678 or Error 769 when you try to surf the Internet – Microsoft Support
Describes how to troubleshoot the cause of Error 678 and Error 769 which may occur when you try to connect to the Internet after you install Windows XP Service Pack 2 (SP2).
Error message when you try to start Windows Defender on a computer that you recently upgraded to Windows Vista: “Application failed to initialize” – Microsoft Support
Describes that you receive an “Application failed to initialize” error message when you try to start Windows Defender on a Windows Vista-based computer after you uninstall Windows Defender. Provides two resolutions.