How to Fix: OneDrive Error … is unavailable, if the location is on….

The Error

When opening the File Explorer/This PC, following error pops up:

“C:\Users\%username%\Folder Name is unavailable. If the location is on this PC, make sure the device or drive is connected or the disc is inserted, and then try again. If the location is on a network, make sure you’re connected to the network or Internet, and the try again. If the location still can’t be found, it might have been moved or deleted.”

Usually this occurs after the reported folder has being deleted or moved.

The Fix

1 Exit OneDrive

2 Create the missing folder, e.g. if the missing folder mentioned in the error is “C\Users\Jack\Desktop”

Then create corresponding folders “C\Users\Jack\Desktop”

3 Start the OneDrive or OneDrive for business again, the error should be gone now


An Code Analysis software – ApplicationInspector

Introduction

Microsoft Application Inspector is a software source code analysis tool that helps identify and surface well-known features and other interesting characteristics of source code to aid in determining what the software is or what it does. It has received attention on ZDNetSecurityWeekCSOOnlineLinux.com/newsHelpNetSecurity, Twitter and more and was first featured on Microsoft.com.

Application Inspector is different from traditional static analysis tools in that it doesn’t attempt to identify “good” or “bad” patterns; it simply reports what it finds against a set of over 400 rule patterns for feature detection including features that impact security such as the use of cryptography and more. This can be extremely helpful in reducing the time needed to determine what Open Source or other components do by examining the source directly rather than trusting to limited documentation or recommendations.

The tool supports scanning various programming languages including C, C++, C#, Java, JavaScript, HTML, Python, Objective-C, Go, Ruby, PowerShell and more and can scan projects with mixed language files. It also includes HTML, JSON and text output formats with the default being an HTML report similar to the one shown here.

AppInspector-Features

It includes a filterable confidence indicator to help minimize false positives matches as well as customizable default rules and conditional match logic.

Be sure to see our project wiki page for more help https://Github.com/Microsoft/ApplicationInspector/wiki for illustrations and additional information and help.

Goals

Application Inspector helps inform you better for choosing the best components to meet your needs with a smaller footprint of unknowns for keeping your application attack surface smaller. It helps you to avoid inclusion of components with unexpected features you don’t want.

Application Inspector can help identify feature deltas or changes between component versions which can be critical for detecting injection of backdoors.

It can be used to automate detection of features of interest to identify components that require additional scrutiny as part of your build pipeline or create a repository of metadata regarding all of your enterprise application.

Basically, we created Application Inspector to help us identify risky third party software components based on their specific features, but the tool is helpful in many non-security contexts as well.

Application Inspector v1.0 is now in GENERAL AUDIENCE release status. Your feedback is important to us. If you’re interested in contributing, please review the CONTRIBUTING.md.

Contribute

We have a strong default starting base of Rules for feature detection. But there are many feature identification patterns yet to be defined and we invite you to submit ideas on what you want to see or take a crack at defining a few. This is a chance to literally impact the open source ecosystem helping provide a tool that everyone can use. See the Rules section of the wiki for more.

Getting Application Inspector

To use Application Inspector, download the relevant binary (either platform-specific or the multi-platform .NET Core release). If you use the .NET Core version, you will need to have .NET Core 3.0 or later installed. See the JustRunIt.md or Build.md files for help.

It might be valuable to consult the project wiki for additional background on Rules, Tags and more used to identify features. Tags are used as a systematic hierarchical nomenclature e.g. Cryptography.Protocol.TLS to more easily represent features.

Usage

Application Inspector is a command-line tool. Run it from a command line in Windows, Linux, or MacOS.

> dotnet AppInspector.dll or on *Windows* simply AppInspector.exe <command> <options>
Microsoft Application Inspector 1.0.25
ApplicationInspector 1.0.25
(c) Microsoft Corporation. All rights reserved
ERROR(S):
  No verb selected.
  analyze        Inspect source directory/file/compressed file (.tgz|zip) against defined characteristics
  tagdiff        Compares unique tag values between two source paths
  tagtest        Test presence of smaller set or custom tags in source (compare or verify modes)
  exporttags     Export default unique rule tags to view what features may be detected
  verifyrules    Verify rules syntax is valid
  help           Display more information on a specific command
  version        Display version information

Examples:

Command Help

Usage: dotnet AppInspector.dll [arguments] [options]
dotnet AppInspector.dll -description of available commands
dotnet AppInspector.dll <command> -options description for a given command

Analyze Command

Usage: dotnet AppInspector.dll analyze [arguments] [options]
Arguments:
 -s, --source-path             Required. Path to source code to inspect (required)
 -o, --output-file-path        Path to output file.  Ignored with -f html option which auto creates output.html
 -f, --output-file-format      Output format [html|json|text]. Default = html
 -e, --text-format             Match text format specifiers 
 -r, --custom-rules-path       Custom rules path
 -t, --tag-output-only         Output only contains identified tags. Default = false
 -i, --ignore-default-rules    Ignore default rules bundled with application. Default = false
 -d, --allow-dup-tags          Output only non-unique tag matches. Default = false
 -c, --confidence-filters      Output only matches with confidence [high|medium|low].  Default = high,medium
 -k, --file-path-exclusions    Exclude source files [none|<list>]. Default = sample,example,test,docs,.vs,.git
 -x, --console-verbosity       Console verbosity [high|medium|low|none].  Default = medium
 -l, --log-file-path           Log file path.  Default is <application path>/log.txt
 -v, --log-file-level          Log file level [Debug|Info|Warn|Error|Fatal|Off].  Default = Error
Scan a project directory, with output sent to “output.html” (default behavior includes launching default browser to this file)
dotnet AppInspector.dll analyze -s /home/user/myproject
Add custom rules (can be specified multiple times)
dotnet AppInspector.dll analyze -s /home/user/myproject -r /my/rules/directory -r /my/other/rules
Write to JSON format
dotnet AppInspector.dll analyze -s /home/user/myproject -f json

Tagdiff Command

Use to analyze and report on differences in tags (features) between two project or project versions e.g. v1, v2 to see what changed

Usage: dotnet AppInspector.dll tagdiff [arguments] [options]
Arguments:
 --src1                        Required. Source 1 to compare (required)
 --src2                        Required. Source 2 to compare (required
 -t, --test-type               Type of test to run [equality|inequality].  Default = equality
 -r, --custom-rules-path       Custom rules path
 -i, --ignore-default-rules    Ignore default rules bundled with application.  Default = false
 -o, --output-file-path        Path to output file
 -x, --console-verbosity       Console verbosity [high|medium|low].  Default = medium
 -l, --log-file-path           Log file path
 -v, --log-file-level          Log file level [error|trace|debug|info].  Default = error
Simplist way to see the delta in tag features between two projects
dotnet AppInspector.dll tagdiff --src1 /home/user/project1 --src2 /home/user/project2
Basic use
dotnet AppInspector.dll tagdiff --src1 /home/user/project1 --src2 /home/user/project2 -t equality
Basic use
dotnet AppInspector.dll tagdiff --src1 /home/user/project1 --src2 /home/user/project2 -t inequality

TagTest Command

Used to verify (pass/fail) that a specified set of rule tags is present or not present in a project e.g. user only wants to know true/false if cryptography is present as expected or if personal data is not present as expected and get a simple yes/no result rather than a full analysis report.

Note: The user is expected to use the custom-rules-path option rather than the default ruleset because it is unlikely that any source package would contain all of the default rules. Instead, create a custom path and rule set as needed or specify a path using the custom-rules-path to point only to the rule(s) needed from the default set.
Otherwise, testing for all default rules present in source will likely yield a false or fail result in most cases.

Usage: dotnet AppInspector.dll tagtest [arguments] [options
Arguments:
 -s, --source-path             Required. Source to test (required)
 -t, --test-type               Test to perform [rulespresent|rulesnotpresent].  Default = rulespresent
 -r, --custom-rules-path       Custom rules path 
 -i, --ignore-default-rules    Ignore default rules bundled with application.  Default = true
 -o, --output-file-path        Path to output file
 -x, --console-verbosity       Console verbosity [high|medium|low].  Default = medium
 -l, --log-file-path           Log file path
 -v, --log-file-level          Log file level

Simplest use to see if a set of rules are all present in a project

dotnet AppInspector.dll tagtest -s /home/user/project1 -r /home/user/myrules.json

Basic use

dotnet AppInspector.dll tagtest -s /home/user/project1 -r /home/user/myrules.json -t rulespresent

Basic use

dotnet AppInspector.dll tagtest -s /home/user/project1 -r /home/user/myrules.json -t rulesnotpresent

ExportTags Command

Simple export of the ruleset schema for tags representing what features are supported for detection

Usage: dotnet AppInspector.dll exporttags [arguments] [options]
Arguments:
 -r, --custom-rules-path       Custom rules path
 -i, --ignore-default-rules    Ignore default rules bundled with application.  Default = false
 -o, --output-file-path        Path to output file
 -x, --console-verbosity       Console verbosity [high|medium|low].  Default = medium
Export default rule tags to console
dotnet AppInspector.dll exporttags
Using output file
dotnet AppInspector.dll exporttags -o /home/user/myproject/exportags.txt
With custom rules and output file
dotnet AppInspector.dll exporttags -r /home/user/myproject/customrules -o /home/user/myproject/exportags.txt

Verify Command

Verification that ruleset is compatible and error free for import and analysis

Usage: dotnet AppInspector.dll verifyrules [arguments]
Arguments:
 -r, --custom-rules-path       Custom rules path
 -i, --ignore-default-rules    Ignore default rules bundled with application.  fault = false
 -o, --output-file-path        Path to output file
 -x, --console-verbosity       Console verbosity [high|medium|low].  Default = medium.
Simplist case to verify default rules
dotnet AppInspector.dll verifyrules
Using custom rules only
dotnet AppInspector.dll verifyrules -r /home/user/myproject/customrules -i

Build Instructions

Building from source requires .NET Core 3.0. Standard dotnet build commands can be run from the root source folder.

Framework Dependent

dotnet build -c Release

Platform Targeted Portable

dotnet publish -c Release -r win-x86
dotnet publish -c Release -r linux-x64
dotnet publish -c Release -r osx-x64

How to Fix: Microsoft Word Error, can’t save to OneDrive, can’t save…

The Error

Word saving files to onedrive

Sorry we couldn’t find https://……… is it possible it was moved, renamed or deleted?
The file you are merging into is currently in use, Please try again later.

The Fix

We need to repair the Office.

Method 1

1 Use start menu to search “Control” then open control panel or Use Win + R key combination to open “Run window”

Microsoft Windows - Run window
Microsoft Windows – Run window

Then type “appwiz.cpl” then hit Enter key to bring up the “Programs and Features” window

2 Find office, click on “Change -> Repair”

Method 2

If you are using office 365, you can just download the office installation file from Microsoft, then repair install.

Possible Errors during installation/rearing

If the following error appears

Installing office
Something went wrong
Error Code: 30010-4

Close all windows related to the office and office rearing properly.

Restart the Windows Operating System.

Then try to install office again.

When the rearing or installation is done, there should be on problem to save to OneDrive, OneDrive for business, or save to local hard drive.


How to: Solve math equation/Algebra step by step? Mobile App and Windows Software

Are you an student? Trying to resolve an math equation? Don’t know how to resolve it even the final answer is in front of you? Read on! 😉

Microsoft created two free Math tools which can help you to get the answer, even better, it can show you step by step resolution, so that you understand and learn how to get the final answer rather than copy the final answer.

Microsoft Math Solver

With this mobile app, we can input math equation by three ways:

  • Scan from writing (Take photo from exercise book etc.)
  • Handwriting directly within the App
  • Enter the equation by using builtin math keyboard

It will then return final results with steps which you can expand and learn.

Microsoft Math Solver
Microsoft Math Solver
Microsoft Math Solver - Snap and Solve
Microsoft Math Solver – Snap and Solve
Microsoft Math Solver - Draw and Practice
Microsoft Math Solver – Draw and Practice
Microsoft Math Solver - Explore and Learn
Microsoft Math Solver – Explore and Learn
Microsoft Math Solver - Steps
Microsoft Math Solver – Steps
Microsoft Math Solver - Steps
Microsoft Math Solver – Steps
Microsoft Math Solver - Graph
Microsoft Math Solver – Graph
Microsoft Math Solver - Handwriting
Microsoft Math Solver – Handwriting
Microsoft Math Solver - Built-in math keyboard
Microsoft Math Solver – Built-in math keyboard
Microsoft Math Solver - Built-in math keyboard
Microsoft Math Solver – Built-in math keyboard
Microsoft Math Solver - Resolve
Microsoft Math Solver – Resolve
Microsoft Math Solver - Scan
Microsoft Math Solver – Scan
Microsoft Math Solver - Resolve
Microsoft Math Solver – Resolve
Microsoft Math Solver - Resolve
Microsoft Math Solver – Resolve
Microsoft Math Solver - Resolve
Microsoft Math Solver – Resolve
Microsoft Math Solver - Final Answer
Microsoft Math Solver – Final Answer

Microsoft Mathematics

This free software can be used on Microsoft Windows to resolve math equations.

Microsoft Mathematics
Microsoft Mathematics
Microsoft Mathematics - Main Window
Microsoft Mathematics – Main Window
Microsoft Mathematics - Resolve linear equation in two variable
Microsoft Mathematics – Resolve linear equation in two variable
Microsoft Mathematics - Resolve linear equation in two variable, Steps
Microsoft Mathematics – Resolve linear equation in two variable, Steps
Microsoft Mathematics - Resolve linear equation in two variable, Steps
Microsoft Mathematics – Resolve linear equation in two variable, Steps

Keywords: Solve math equation, solve linear equation, solve linear equation in two variable, solve math problems, software, application, app, computer program, free, Algebra


How to fix: Cannot move or copy folders. Cannot copy folder. A top-level cannot…

The Error

When copy and paste folders/contacts in Outlook/Office 365 from/to public folders, the following error pops up.

Cannot move or copy folders. Cannot copy folder. A top-level cannot be copied to one of its subfolders. Or, you may not have approriate permissions for the folder. To check your permissions for the folder, right-click the folder, and then click Properties on the shortcut menu.

The Fix

1 Open Exchange admin center (https://outlook.office365.com/ecp)

2 Navigate to “public folder -> public folders”

Exchange admin center - public folders
Exchange admin center – public folders

3 Navigate to the public folder which is having the problem.

4 Assign that user as “Owner” of that specific public folder

Exchange admin center - public folders
Exchange admin center – public folders
Exchange admin center - public folders - Public folder permissions
Exchange admin center – public folders – Public folder permissions
Exchange admin center - public folders - Public folder permissions
Exchange admin center – public folders – Public folder permissions

5 Try the operation again, once finished, change back the permission for that user to “Author” or other permission.


Microsoft Office 365/O365 Administration links (Admin links, admin centers, Quarantine etc.)

Office 365

https://www.office.com

Azure Portal

https://portal.azure.com

Azure Active Directory

https://aad.portal.azure.com

Device Management

https://devicemanagement.microsoft.com

Office 365 Cloud App Security

https://<company-name>.portal.cloudappsecurity.com

Microsoft 365 security center

https://security.microsoft.com

Microsoft 365 compliance center

https://compliance.microsoft.com

New Exchange Admin Center

https://admin.exchange.microsoft.com/

Classic Exchange Admin Center

https://outlook.office.com/ecp/

Microsoft Teams admin center

https://admin.teams.microsoft.com/

Office client management portal / Office cloud policy service

https://config.office.com/

Microsoft Store for Business

https://businessstore.microsoft.com/en-au/manage/dashboard

Office 365 Security & Compliance

https://protection.office.com/

Quarantine

https://protection.office.com/quarantine

How to: Connect PowerShell to Office 365 Exchange with Multi-factor authentication (MFA) enabled

Keywords: Microsoft, Microsoft Windows, Microsoft Office 365, Microsoft Windows PowerShell, Microsoft Office 365 Exchange, Multi-factor authentication, MFA, ecp, connect to Microsoft Office 365 Exchange via PowerShell with MFA enabled

1 Use Microsoft Edge or Internet Explorer (You have to use Microsoft Edge or Internet Explorer for this one) to login to: https://outlook.office365.com/ecp/

2 Click on “hybrid”, find “The Exchange Online PowerShell Module supports multi-factor authentication. Download the module to manage Exchange Online more securely. Learn more” click on “configure”

Microsoft Office 365 Exchange admin center
Microsoft Office 365 Exchange admin center

3 Click on “Open” button from the browser

Microsoft Edge - Microsoft Office 365 Exchange admin center - hybrid - configure
Microsoft Edge – Microsoft Office 365 Exchange admin center – hybrid – configure

4 If you get a pop up asking “How do you want to open this?” Select “Microsoft Edge” then click on “OK” button

Microsoft Edge - "How o you want to open this?"
Microsoft Edge – “How o you want to open this?”

5 A Windows PowerShell window will pop up upon finishing downloading.

Microsoft Windows PowerShell
Microsoft Windows PowerShell

6 Enter following command and press “Enter” key (Change “[email protected]” to proper administrator email address)

Connect-EXOPSSession -UserPrincipalName [email protected]

e.g.

Connect-EXOPSSession -UserPrincipalName [email protected]

7 Sign with “Sign in to your account” pop up window, enter your password then authorise via MFA

Microsoft Windows PowerShell - MFA login
Microsoft Windows PowerShell – MFA login

8 The warning is fine, we can still use the PowerShell to manage Microsoft Office 365 Exchange

 Microsoft Windows PowerShell - Exchange logged in
Microsoft Windows PowerShell – Exchange logged in

Now, you have successfully connected to Microsoft Office 365 Exchange via Windows PowerShell.

Bonus:

You can use following command to list identity information from your groups

Get-UnifiedGroup -Identity "Group Name" | Format-List

e.g.

Get-UnifiedGroup -Identity "Financial" | Format-List

How to Fix: Meeting request declined. “This resource can only be scheduled up to 180 days in advance.”

Keywords: Office 365, Microsoft Office 365, Calendar, Resource mailbox

In Office 365, a resource mailbox can only have schedule up to 180 days in advance by default, only administrators of Office 365 can change the value for their tenants.

Method 1:

1 Login to https://admin.microsoft.com

2 Click on “Exchange” (Or Open this link directly and login: https://outlook.office365.com/ecp) to open “Exchange admin center”

Microsoft Office 365 Admin Center
Microsoft Office 365 Admin Center

3 Click on “recipients” -> “resources” -> Double click on “Name of the resource” (e.g. “Conference Room”)

Microsoft Exchange admin center
Microsoft Exchange admin center

4 A new window will pop up

Microsoft Exchange admin center -> Resource
Microsoft Exchange admin center -> Resource

5 Click on “booking options”, change ” Maximum booking lead time (days): ” to a desired days. (By default it’s 180)

Microsoft Exchange admin center -> booking options
Microsoft Exchange admin center -> booking options

6 Click on Save to save the changes

7 Now you should be able to schedule up to the days you have defined.

Method 2:

1 Login to https://outlook.office365.com/ecp

2 After login, change the URL from https://outlook.office365.com/ecp to ” https://outlook.office365.com/ecp/resourcename%40yourdomain.com” (%40 is replacement of @ within the email address)

3 You will see a similar page to this

Microsoft Office 365 -> ECP
Microsoft Office 365 -> ECP

4 Click on “settings” then change the value for “Maximum number of days in advance resources can be booked: “, Click on save button.

Microsoft Office 365 -> ECP
Microsoft Office 365 -> ECP

7 Now you should be able to schedule up to the days you have defined.

How to: Check storage quota in SharePoint Online

Usually you have to be the site owner or a site collection administrator to be able to check storage quota in SharePoint Online

1 Open your site, click Gear icon, then click on Site contents

Office 365 SharePoint > Settings
Office 365 SharePoint > Settings

2 Click on Site settings from new page

Office 365 SharePoint > Site Settings
Office 365 SharePoint > Site Settings

3 Click on Storage Metrics from Site Collection Administration section

Office 365 SharePoint > Site Settings
Office 365 SharePoint > Site Settings

Keywords: SharePoint, SharePoint storage, SharePoint Free Storage, SharePoint site storage, View SharePoint Storage Size